Re: [Openvpn-users] IPv4 subnet routing issue

2016-12-04 Thread Jonathan Leroy
2016-11-14 8:18 GMT+01:00 Mathias Jeschke : > You need to add a route back to 213.32.57.144/28 via 151.80.62.69 - > either on all the hosts on subnet 151.80.62.64/27 (DHCP) or on the > gateway 151.80.62.94. Thanks Mathias! -- Jonathan Leroy.

Re: [Openvpn-users] IPv4 subnet routing issue

2016-11-13 Thread Mathias Jeschke
Hi Jonathan, Jonathan Leroy wrote: >> This looks more like a missing "route back issue" on subnet 151.80.62.64/27. >> The routing table of dev.anytime.tools would be of interest, too. > > default via 151.80.62.94 dev eth0 > 151.80.62.64/27 dev eth0 proto kernel scope link src 151.80.62.70 Y

Re: [Openvpn-users] IPv4 subnet routing issue

2016-11-13 Thread Jonathan Leroy
2016-11-13 14:38 GMT+01:00 Mathias Jeschke : > Hi Jonathan, Hi Mathias, > This looks more like a missing "route back issue" on subnet 151.80.62.64/27. > Is the VPN router also the default gateway on that subnet? No, each subnet has its own gateway managed by my hosting provider. The gateway fo

Re: [Openvpn-users] IPv4 subnet routing issue

2016-11-13 Thread Mathias Jeschke
Hi Jonathan, Jonathan Leroy wrote: > Here's my server config file : > https://gist.githubusercontent.com/jleroy/8eec6bc8d21275490add4d8fc0fdb178/raw/cdd70a322e434ce7959d7e700351ee5bbf45c442/server-subnets.conf > > For 213.32.57.144/28 (VPN clients subnet), it works. > For 151.80.62.64/27, I get n

[Openvpn-users] IPv4 subnet routing issue

2016-11-12 Thread Jonathan Leroy
Hi all, I've a problem with my OpenVPN config. Everything is working if I redirect all trafic through the VPN tunnel with "redirect-gateway def1", but I just want to redirect trafic to two subnets through VPN : 151.80.62.64/27 and 213.32.57.144/28. Here's my server config file : https://gist.gith