Maybe rdomains?
> Den 11. sep. 2018 kl. 15.59 skrev Andrew Lemin <a_le...@hotmail.com>:
>
> Hi list,
>
> I use an OpenVPN based internet access service (like NordVPN, AirVPN etc).
>
> The issue with these public VPN services, is the VPN servers are always
> congested. The most I’ll get is maybe 10Mbits through one server.
>
> Local connection is a few hundred mbps..
>
> So I had the idea of running multiple openvpn tunnels to different servers,
> and load balancing outbound traffic across the tunnels.
>
> Sounds simple enough..
>
> However every vpn tunnel uses the same subnet and nexthop gw. This of course
> won’t work with normal routing.
>
> So my question:
> How can I use rdomains or rtables with openvpn clients, so that each VPN is
> started in its own logical VRF?
>
> And is it then a case of just using PF to push the outbound packets into the
> various rdomains/rtables randomly (of course maintaining state)? LAN
> interface would be in the default rdomain/rtable..
>
> My confusion is that an interface needs to be bound to the logical VRF, but
> the tunX interfaces are created dynamically by openvpn.
>
> So I am not sure how to configure this within hostname.tunX etc, or if I’m
> even approaching this correctly?
>
> Thanks, Andy.
>