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

[Openvpn-users] VPN with one NIC


  • Subject: [Openvpn-users] VPN with one NIC
  • From: Openvpn <openvpn@xxxxxxxxxxxxxx>
  • Date: Tue, 2 Mar 2004 21:46:41 +0000 (UTC)

could someone help me on this?

I tried to connect to two lans with the following structure: ( the box that 
running OpenVPN only has one NIC)

LAN A
==============================================================
linux01 ---------|
(10.10.10.3)   |  
               |
winXP01 ---------|----------- LinkSys Router ------ Internet
(10.10.10.99)  |  (10.10.10.254)       (a.b.c.d)
               |
Win2K01 ---------|
(10.10.10.100)

openvpn's cofiguration on linux01 (10.10.10.3):
dev tap
port 5000
secret /root/openvpn.key
verb 3
log /var/log/openvpn.log
ifconfig 172.16.0.9 255.255.255.252
tun-mtu 1500
tun-mtu-extra 32
ping 15
user nobody
group nobody




LAN B
==============================================================
linux02 ---------|
(192.168.1.2)  |  
               |
winXP02 ---------|----------- LinkSys Router ------ Internet
(192.168.1.3)  |  (192.168.1.254)       (dhcp)
               |
Win2K02 ---------|
(192.168.1.10)

openvpn's cofiguration on WinXP02 (192.168.1.3):
remote a.b.c.d
dev tap0
ifconfig 172.16.0.10 255.255.255.252
secret c:/temp/openvpn.key
verb 3
tun-mtu 1500
tun-mtu-extra 32
route-delay 2
mssfix
ping 15
ping-exit 60
ip-win32 netsh



WinXP02 connect to linux01 without any problem.  WinXP02 can ping can connect 
( like SSH ) to linux01.  however, WinXP02 can't ping or connect to WinXP01.  
I have to add this route on WinXP01
route add 172.16.0.10 mask 255.255.255.255 10.10.10.3 
in order to get ping to response.

This looks really strange to me.  I will assume a route like this instead
route add 192.168.1.0 mask 255.255.255.0 10.10.10.3

any idea??







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