Friday, February 26, 2021

Re: What determines source IP of traffic from OpenBSD box ?

On Fri, 26 Feb 2021 11:53:40 +0100 (CET), Rachel Roch
<rroch@tutanota.de> wrote:

> Let's say I'm running "pkg_add -u" on a OpenBSD-based router with
> multiple interfaces.
>
> What determines the source IP ?

On -current there is
route [-T rtable] sourceaddr [-inet|-inet6] [address]
route [-T rtable] sourceaddr [-inet|-inet6] -ifp interface

Cheers,
Daniel

No comments:

Post a Comment