Hello!
I have an virtual root server "out there" which has openvpn running. (installed by my self)
Now my plan is that openWRT connects to that openVPN so i can use its Internet Connection.
The conection drops an error but i can ping 10.70.0.1 and access several Services on root server.
But no internet connection on openwrt host!!
I Tried with the same Config on Windows and getting the same result! What went wrong here?
Is something blocked cause of the "virtual" Root server? Something wrong with my Config?
Thanks for your help!!
server.conf on root server:
dev tun
ifconfig 10.70.0.1 10.70.0.2
secret key.txt
port 1194
The Client.conf on Openwrt:
remote iamoutthere
dev tun
ifconfig 10.70.0.2 10.70.0.1
secret key.txt
port 1194
route-gateway 10.70.0.1
redirect-gateway
route 0.0.0.0 0.0.0.0
The openvpnlog:
Mon Aug 15 21:36:49 2011 OpenVPN 2.1.4 mips-openwrt-linux [SSL] [LZO2] [EPOLL] built on Aug 12 2011
Mon Aug 15 21:36:49 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Mon Aug 15 21:36:49 2011 WARNING: file 'meinname.key' is group or others accessible
Mon Aug 15 21:36:49 2011 TUN/TAP device tun0 opened
Mon Aug 15 21:36:49 2011 /sbin/ifconfig tun0 10.70.0.2 pointopoint 10.70.0.1 mtu 1500
Mon Aug 15 21:36:49 2011 WARNING: potential route subnet conflict between local LAN [10.70.0.0/255.255.255.0] and remote VPN [0.0.0.0/0.0.0.0]
route: SIOCADDRT: File exists
Mon Aug 15 21:36:49 2011 ERROR: Linux route add command failed: external program exited with error status: 1
Mon Aug 15 21:36:49 2011 UDPv4 link local (bound): [undef]:1194
Mon Aug 15 21:36:49 2011 UDPv4 link remote: iamoutthere:1194
Mon Aug 15 21:37:52 2011 Peer Connection Initiated with iamoutthere:1194
Mon Aug 15 21:37:53 2011 Initialization Sequence Completed