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

[Openvpn-users] Routing?


  • Subject: [Openvpn-users] Routing?
  • From: katsumi liquer <katsumi@xxxxxxxxx>
  • Date: Wed, 6 Apr 2005 11:15:42 -0400

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


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/msg00083.html on line 236

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/msg00083.html on line 236