VPN Connects but can't route to destinations
Hi,
I've configured an openvpn TAP-Win32 Adapter V9 with an ip address of 12.0.0.2, subnet mask of 255.0.0.0, DHCP of 12.0.0.0, and DNS of 10.0.0.222.
After I connect, I can only ping 10.0.0.222, nothing else on the 10.x.x.x network.
And to get to .222, I had to, route add 10.0.0.0 MASK 255.0.0.0 12.0.0.2 METRIC 30 to get there.
What am I missing?
Thank you very much.
Richard
You need to set up IP masquerading, it is simple for linux machines:
iptables -t nat -I POSTROUTING -o eth0 -j MASQUERADE
for windows you require to set up ICS which can be done using windows UI
Quoted 47 lines · Richard Francis
** **
Hi,****
** **
I’ve configured an openvpn TAP-Win32 Adapter V9 with an ip address of 12.0.0.2, subnet mask of 255.0.0.0, DHCP of 12.0.0.0, and DNS of 10.0.0.222.
****** **
After I connect, I can only ping 10.0.0.222, nothing else on the 10.x.x.x network.****
** **
And to get to .222, I had to, route add 10.0.0.0 MASK 255.0.0.0 12.0.0.2 METRIC 30 to get there.****
** **
What am I missing?****
** **
Thank you very much.****
** **
Richard****
** **
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Openvpn-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel
Hi *,
please do not use the 'openvpn-devel' mailing list for this. That mailing list is intended for developers working on patches, bugs and new versions of OpenVPN.
Setup questions (like the one Richard is asking) are best sent to the [email protected] mailing list, or ask a question on the OpenVPN forum at https://forums.openvpn.net/
thanks,
JJK
Quoted 30 lines · anjini shukla
You need to set up IP masquerading, it is simple for linux machines:
iptables -t nat -I POSTROUTING -o eth0 -j MASQUERADE
for windows you require to set up ICS which can be done using windows UIOn Tue, Oct 11, 2011 at 8:39 PM, Richard Francis <[email protected]... <mailto:[email protected]...>> wrote:
Hi, I’ve configured an openvpn TAP-Win32 Adapter V9 with an ip address of 12.0.0.2, subnet mask of 255.0.0.0, DHCP of 12.0.0.0, and DNS of 10.0.0.222. After I connect, I can only ping 10.0.0.222, nothing else on the 10.x.x.x network. And to get to .222, I had to, route add 10.0.0.0 MASK 255.0.0.0 12.0.0.2 METRIC 30 to get there. What am I missing?
You can also use #openvpn channel on irc.freenode.net.
Signature · 5 lines
Samuli Seppänen Community Manager OpenVPN Technologies, Inc irc freenode net: mattock
Quoted 57 lines
Hi *,
please do not use the 'openvpn-devel' mailing list for this. That mailing list is intended for developers working on patches, bugs and new versions of OpenVPN.
Setup questions (like the one Richard is asking) are best sent to the [email protected] mailing list, or ask a question on the OpenVPN forum at https://forums.openvpn.net/
thanks,
JJK
Quoted 24 lines · anjini shukla
You need to set up IP masquerading, it is simple for linux machines:
iptables -t nat -I POSTROUTING -o eth0 -j MASQUERADE
for windows you require to set up ICS which can be done using windows UIOn Tue, Oct 11, 2011 at 8:39 PM, Richard Francis <[email protected]... <mailto:[email protected]...>> wrote:
Hi, I’ve configured an openvpn TAP-Win32 Adapter V9 with an ip address of 12.0.0.2, subnet mask of 255.0.0.0, DHCP of 12.0.0.0, and DNS of 10.0.0.222. After I connect, I can only ping 10.0.0.222, nothing else on the 10.x.x.x network.Quoted 7 lines
And to get to .222, I had to, route add 10.0.0.0 MASK 255.0.0.0 12.0.0.2 METRIC 30 to get there. What am I missing?------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Openvpn-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel
Thanks for the reply. I resolved this by adding 2 routes, one to the vpn gateway and one to my local network gateway. BAM. Working fine now.
Except for one thing.the OpenVPN connection terminates by other CISCO VPN connection.I can only work with one VPN on the network (I have a standard network-cable to hub to router to cable-modem to Internet setup). I may have to figure out how to configure 2 routers to one modem.
PS: Subscribing to users list now.
Richard
From: anjini shukla [mailto:[email protected]...]
Sent: Tuesday, October 11, 2011 11:43 PM
To: Richard Francis
Cc: [email protected]
Subject: Re: [Openvpn-devel] VPN Connects but can't route to destinations
You need to set up IP masquerading, it is simple for linux machines:
iptables -t nat -I POSTROUTING -o eth0 -j MASQUERADE
for windows you require to set up ICS which can be done using windows UI
On Tue, Oct 11, 2011 at 8:39 PM, Richard Francis <[email protected]...> wrote:
Hi,
I've configured an openvpn TAP-Win32 Adapter V9 with an ip address of 12.0.0.2, subnet mask of 255.0.0.0, DHCP of 12.0.0.0, and DNS of 10.0.0.222.
After I connect, I can only ping 10.0.0.222, nothing else on the 10.x.x.x network.
And to get to .222, I had to, route add 10.0.0.0 MASK 255.0.0.0 12.0.0.2 METRIC 30 to get there.
What am I missing?
Thank you very much.
Richard
----------------------------------------------------------------------------
--
All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Openvpn-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel