On Fri, Feb 26, 2021 at 11:53:40AM +0100, 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 ?
I'd say the routing table. > 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 ? See pkg_add(1) and ftp(1): env FECTH_CMD="ftp -s <source_addr>" pkg_add ... > > Thanks ! > > Rachel > --