Page 1 of 1

WARNING: potential route subnet conflict

Posted: Sat Dec 04, 2010 4:29 am
by DasFox
When I connect to a anonymous VPN servicve I'm using running this cmd in Linux at the terminal;

openvpn --auth-nocache --config /etc/openvpn/keys/openvpn.ovpn --ca /etc/openvpn/certs/ca.crt --comp-lzo yes

I see in the console as I'm connecting these messages;

Fri Dec 3 18:10:34 2010 WARNING: potential route subnet conflict between local LAN [10.8.0.0/255.255.255.0] and remote VPN [10.8.0.1/255.255.255.255]
Fri Dec 3 18:10:34 2010 /sbin/route add -net 10.8.0.1 netmask 255.255.255.255 gw 10.8.0.29

Is there something I need to do as a client connecting to fix this conflict?


THANKS

P.S. For now I put this in my rc.local

/sbin/route add -net 10.8.0.1 dev eth0
/sbin/route add -net 10.8.0.1 dev wlan0
/sbin/route add default gw 10.8.0.29

Re: WARNING: potential route subnet conflict

Posted: Mon Jan 10, 2011 9:49 pm
by krzee
your local lan is really 10.8.0.X?
if so, change that

Re: WARNING: potential route subnet conflict

Posted: Fri Feb 17, 2012 12:32 pm
by whitingjr
For me that is not always feasible. Say I am using coffee shop providing free WiFi..

Apart from finding another place to frequent :) is it possible to change my configuration to change the established local or remote LAN VPN ?

Re: WARNING: potential route subnet conflict

Posted: Tue Feb 28, 2012 9:58 pm
by krzee
whitingjr wrote:For me that is not always feasible. Say I am using coffee shop providing free WiFi..

Apart from finding another place to frequent :) is it possible to change my configuration to change the established local or remote LAN VPN ?
no.
use a non-standard network for your vpn subnet
also for your lan if you want to share it over the vpn
you will have problems when you connect to the vpn, and the vpn pushes the same subnet that you use on lan.