[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

RE: [Openvpn-users] Routing?


  • Subject: RE: [Openvpn-users] Routing?
  • From: "Milton R. Calnek" <mcalnek@xxxxxxxxxx>
  • Date: Thu, 7 Apr 2005 08:49:02 -0600

>and B) I have to add a route on the local gateway to route the VPN
>subnet to the OpenVPN server
>
>Is B correct? How would I go about doing that? Our gateway is a
>separate machine, so I am assuming I would add some route like

Is your VPN server not the default gateway?

--
Milton Calnek
mcalnek@xxxxxxxxxx
+1 306 359 6939


-----Original Message-----
From: katsumi liquer [mailto:katsumi@xxxxxxxxx] 
Sent: Wednesday, April 06, 2005 9:16 AM
To: openvpn-users@xxxxxxxxxxxxxxxxxxxxx
Subject: [Openvpn-users] Routing?

Hello Everyone,

I have configured a very simple OpenVPN tunnel across a WAN link. I
can now ping the VPN adaptor on either side, and the link seems to be
functioning properly. My last task is to allow the remote OpenVPN
computer to access a machine on our local subnet.

Here are the configuration files:
--------------------------------------------
SITE A (LOCAL)
dev tun

proto tcp-server

port 5010

show-net-up

ifconfig 10.8.0.1 10.8.0.2
secret key.txt

push "route 10.0.0.0 255.255.255.0"

verb 5

-----------------------------------------
SITE B (REMOTE)
remote xxx.xxx.xxx.xxx

dev tun

port 5010
proto tcp-client

show-net-up

ifconfig 10.8.0.2 10.8.0.1
secret key.txt

verb 5

Now, according to the documentation, in order for me to facilitate the
remote host access to the local subnet, I need to

A) add the push "route 10.0.0.0 255.255.255.0" to the local-server
side configure, which I have done

and B) I have to add a route on the local gateway to route the VPN
subnet to the OpenVPN server

Is B correct? How would I go about doing that? Our gateway is a
separate machine, so I am assuming I would add some route like

route add 10.8.0.0 255.255.255.0 10.0.0.150 (depending on the type of
OS)

Is this correct? I just wanted to check and get some opinions..  I
don't have access to the gateway machine, so I am going to have to
request a change.

I greatly appreciate any information at all! :)

Thank you very much,
katsu

____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users

--
DISCLAIMER: The information transmitted is intended only for the 
addressee and may contain confidential, proprietary and/or privileged 
material. Any unauthorized review, distribution or other use of or 
the taking of any action in reliance upon this information is 
prohibited. If you received this in error, please contact the sender 
and delete or destroy this message and any copies.  

-- 
This message has been scanned for viruses and dangerous content by 
MailScanner, and is believed to be clean.  MailScanner thanks transtec 
Computers for their support.


____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-04/msg00101.html on line 276

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-04/msg00101.html on line 276