Re: Your opinion about using rdomain or mpath

2015-10-14 Thread Jiri B
On Wed, Oct 14, 2015 at 11:57:24AM -0300, Giancarlo Razzolini wrote: > Em 14-10-2015 11:33, C.L. Martinez escreveu: > [...] > through your VPN. In this case, you don't need neither rdomain nor > mpath. Properly crafted route-to rules in your pf.conf should do the > trick. You can even use anchors a

Re: Your opinion about using rdomain or mpath

2015-10-14 Thread Giancarlo Razzolini
Em 14-10-2015 11:33, C.L. Martinez escreveu: > ALL traffic is routed over tun0 interface. Some of our customers use > the same type of configuration. This is my actual problem: > discriminate when I do requests to my customers and when I do requests > to our internal lans. I need my default gw unto

Re: Your opinion about using rdomain or mpath

2015-10-14 Thread C.L. Martinez
On 10/14/2015 02:20 PM, Giancarlo Razzolini wrote: Em 14-10-2015 10:31, C.L. Martinez escreveu: Yes because sometimes I will need two or more tunX interfaces up (created by openvpn or openconnect) or enc interface. I think you are confusing gateways with default gateways. No, but maybe I am

Re: Your opinion about using rdomain or mpath

2015-10-14 Thread Giancarlo Razzolini
Em 14-10-2015 10:31, C.L. Martinez escreveu: > Nop. It is a CentOS 7.x I don't remember if the default dhclient from CentOS works with classless static routes (code 121), but you can install dhcpcd and use it, it certainly works with it. > Yes because sometimes I will need two or more tunX interf

Re: Your opinion about using rdomain or mpath

2015-10-14 Thread Jiri B
On Wed, Oct 14, 2015 at 12:28:21PM +, C.L. Martinez wrote: > Hi all, > > I am using an OpenBSD vm to act as a firewall for my laptop and as openVPN > client to connect to several openvpn/ipsec servers. > > Sometimes I need to stay connected to two or more openvpn/ipsec gateways. > And at th

Re: Your opinion about using rdomain or mpath

2015-10-14 Thread C.L. Martinez
On 10/14/2015 01:17 PM, Giancarlo Razzolini wrote: Em 14-10-2015 09:28, C.L. Martinez escreveu: I am using an OpenBSD vm to act as a firewall for my laptop and as openVPN client to connect to several openvpn/ipsec servers. Your laptop is also running OpenBSD? Nop. It is a CentOS 7.x In

Re: Your opinion about using rdomain or mpath

2015-10-14 Thread Giancarlo Razzolini
Em 14-10-2015 09:28, C.L. Martinez escreveu: > I am using an OpenBSD vm to act as a firewall for my laptop and as > openVPN client to connect to several openvpn/ipsec servers. Your laptop is also running OpenBSD? > In your opinion, what is the best option: rdomains or mpath? In both > cases I se