Friday, February 26, 2021

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

On 26-02-2021 11:53, Rachel Roch wrote:
> Hi
>
> Let's say I'm running "pkg_add -u" on a OpenBSD-based router with multiple interfaces.
>
> What determines the source IP ?
>
> Building on that, there is no "source interface" flag for pkg_add like there is for ping and certain others.  Is there a way for me to configure a default interface for utilities such as pkg_add to use ?
>
> Thanks !
>
> Rachel
>
>

I've never used this myself, so this is just an idea,
Maybe setting up a routing domain and running pkg_add using route(8)'s
"exec" command will do the job ?

No comments:

Post a Comment