Wednesday, February 28, 2024

Re: Backup ISP

Hi Lars

Maybe this might be helpful?

https://www.openbsd.org/faq/pf/pools.html#outgoing

On Thu, Feb 29, 2024 at 12:14 AM Lars Bonnesen <lars.bonnesen@gmail.com> wrote:
>
> I now have two ISPs
>
> A primary on vmx2 and a backup (4G) on vmx4
>
> Both needs to initiate connection with a dhcp request, so I have:
> inet autoconf description Internet
> in hostname.vmx2
> and
> inet autoconf description Internet4Gbackup
> in hostname.vmx4
>
> My idea is to have an active/passive setup being able to ssh from the
> internet to both vmx2 and vmx4
>
> Seems that I am only able to access vmx2 from the internet
>
> vmx2: flags=808843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF4> mtu
> 1500
> lladdr 00:0c:29:e0:88:a6
> description: Internet
> index 3 priority 0 llprio 3
> groups: egress
> media: Ethernet autoselect (10GbaseT)
> status: active
>
> vmx4: flags=808843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF4> mtu
> 1500
> lladdr 00:0c:29:e0:88:7e
> description: Internet4Gbackup
> index 5 priority 0 llprio 3
> media: Ethernet autoselect (10GbaseT)
> status: active
>
>
> I cannot see "egress" under vmx4 - I guess this is part of the problem.
>
> How do I get incoming traffic via vmx2 to return out via vmx2 and visa
> versa incoming traffic via vmx4 to return out vmx4
>
> Regards, Lars.



--
Aaron Mason - Programmer, open source addict
I've taken my software vows - for beta or for worse

No comments:

Post a Comment