WARNING: potential route subnet conflict

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
DasFox
OpenVPN User
Posts: 42
Joined: Sat Dec 04, 2010 4:16 am

WARNING: potential route subnet conflict

Post by DasFox » Sat Dec 04, 2010 4:29 am

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

User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

Re: WARNING: potential route subnet conflict

Post by krzee » Mon Jan 10, 2011 9:49 pm

your local lan is really 10.8.0.X?
if so, change that

whitingjr
OpenVpn Newbie
Posts: 1
Joined: Fri Feb 17, 2012 12:28 pm

Re: WARNING: potential route subnet conflict

Post by whitingjr » Fri Feb 17, 2012 12:32 pm

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 ?

User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

Re: WARNING: potential route subnet conflict

Post by krzee » Tue Feb 28, 2012 9:58 pm

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.

Post Reply