From: "Richard Francis" References: <000001cc8890$9d6d35b0$d847a110$@net> In-Reply-To: Date: Wed, 12 Oct 2011 10:40:41 -0500 Message-ID: <006a01cc88f5$4c96ad50$e5c407f0$@net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_006B_01CC88CB.63C0A550" Content-Language: en-us Subject: Re: [Openvpn-devel] VPN Connects but can't route to destinations List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: 'anjini shukla' Cc: openvpn-devel@lists.sourceforge.net This is a multi-part message in MIME format. ------=_NextPart_000_006B_01CC88CB.63C0A550 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit 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:anjinishukla@...277...] Sent: Tuesday, October 11, 2011 11:43 PM To: Richard Francis Cc: openvpn-devel@lists.sourceforge.net 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 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 Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel ------=_NextPart_000_006B_01CC88CB.63C0A550 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable

Thanks fo= r 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.<= /p>

 

Except for one thing…the OpenVPN connection terminates by= other CISCO VPN connection…I can only work with one VPN on the netwo= rk (I have a standard network-cable to hub to router to cable-modem to Inte= rnet setup). I may have to figure out how to configure 2 routers to one mod= em.

 

PS: Subscribing to users list now.

 

Richard

 

 

From: anjini shu= kla [mailto:anjinishukla@...277...]
Sent: Tuesday, October 11, 2= 011 11:43 PM
To: Richard Francis
Cc: openvpn-devel@...1514...= s.sourceforge.net
Subject: Re: [Openvpn-devel] VPN Connects but c= an't route to destinations

=  

You need to set up IP masque= rading, 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, 2= 011 at 8:39 PM, Richard Francis <r= fransix@...164...> wrote:

 =

Hi,

 

IR= 17;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.

&= nbsp;

What am I missing?

 

Thank you very much.

 

Richard

&n= bsp;


--------------------------------------------------------= ----------------------
All the data continuously generated in your IT in= frastructure contains a
definitive record of customers, application perf= ormance, security
threats, fraudulent activity and more. Splunk takes th= is data and makes
sense of it. Business sense. IT sense. Common sense.http://p= .sf.net/sfu/splunk-d2d-oct
_________________________________________= ______
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel=

 

= ------=_NextPart_000_006B_01CC88CB.63C0A550--