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
WARNING: potential route subnet conflict
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVPN User
- Posts: 42
- Joined: Sat Dec 04, 2010 4:16 am
- krzee
- Forum Team
- Posts: 728
- Joined: Fri Aug 29, 2008 5:42 pm
Re: WARNING: potential route subnet conflict
your local lan is really 10.8.0.X?
if so, change that
if so, change that
-
- OpenVpn Newbie
- Posts: 1
- Joined: Fri Feb 17, 2012 12:28 pm
Re: WARNING: potential route subnet conflict
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 ?
Apart from finding another place to frequent

- krzee
- Forum Team
- Posts: 728
- Joined: Fri Aug 29, 2008 5:42 pm
Re: WARNING: potential route subnet conflict
no.whitingjr wrote:For me that is not always feasible. Say I am using coffee shop providing free WiFi..
Apart from finding another place to frequentis it possible to change my configuration to change the established local or remote LAN VPN ?
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.