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

Re: [Openvpn-users] Site2Site - routing-problem (linux)


  • Subject: Re: [Openvpn-users] Site2Site - routing-problem (linux)
  • From: Martin Müller - Rudolf Hausstein OHG <m.mueller@xxxxxxxxxxxx>
  • Date: Sat, 03 Jun 2006 11:45:10 +0200

Hello!


Some things that I noticed:


tcpdump, executed on the VPN-client while ping is running on a 
VPNClient-LAN-Client (192.168.200.100)


11:32:08.242469 IP vpnclient.hausstein.vpn.32770 > 
83.64.124.110.openvpn: UDP, length: 133
11:32:09.241203 arp who-has 83.64.124.110 tell vpnclient.hausstein.vpn
11:32:09.241298 arp reply 83.64.124.110 is-at 00:0e:2e:0b:30:6b
11:32:09.242460 IP vpnclient.hausstein.vpn.32770 > 
83.64.124.110.openvpn: UDP, length: 133
11:32:10.242422 IP vpnclient.hausstein.vpn.32770 > 
83.64.124.110.openvpn: UDP, length: 133

where vpnclient.hausstein.vpn ist the VPN-Client and 83.64.124.110 is 
the VPN-Server. So I think that the client routes the ping correctly to 
the right address. Ist this correct?



tcpdump, executed on the VPN-SERVER (83.64.124.110) while ping is 
running on a VPNClient-LAN-Client (192.168.200.100)

11:32:47.232332 IP 83.64.124.105.32770 > homestone.hausstein.at.openvpn: 
UDP, length 133
11:32:48.232460 IP 83.64.124.105.32770 > homestone.hausstein.at.openvpn: 
UDP, length 133
11:32:48.806777 IP homestone.hausstein.at.21720 > 
249.176.102-84.rev.gaoland.net.13999: UDP, length 107


where homestone.hausstein.at ist the VPN-Server 83.64.124.105 ist the 
VPN-Client.


I think this is a sign, that the packets are comming through the 
firewall. I am right, I am not?


Here again the routing-table of the two machines:

SERVER: (LAN 192.168.100.0/24, VPN-Connection 192.168.123.0)
route -n
Kernel IP Routentabelle
Ziel            Router        Genmask         Flags Metric Ref   Use Iface
192.168.123.2   0.0.0.0       255.255.255.255 UH    0      0      0 tun0
83.64.124.96    0.0.0.0       255.255.255.240 U     0      0      0 eth1
192.168.100.0   0.0.0.0       255.255.255.0   U     0      0      0 eth0
192.168.200.0   192.168.123.2 255.255.255.0   UG    0      0      0 tun0
192.168.123.0   192.168.123.2 255.255.255.0   UG    0      0      0 tun0
0.0.0.0         83.64.124.97  0.0.0.0         UG    0      0      0 eth1

CLIENT: (LAN 192.168.200.0/24, VPN-Connection 192.168.123.0)
route -n
Kernel IP Routentabelle
Ziel            Router          Genmask         Flags Metric Ref    Use 
Iface
192.168.123.5   0.0.0.0        255.255.255.255 UH    0      0     0 tun0
83.64.124.96    0.0.0.0        255.255.255.240 U     0      0     0 eth0
192.168.100.0   192.168.123.5  255.255.255.0   UG    0      0     0 tun0
192.168.200.0   0.0.0.0        255.255.255.0   U     0      0     0 eth1
192.168.123.0   192.168.123.5  255.255.255.0   UG    0      0     0 tun0
0.0.0.0         83.64.124.97   0.0.0.0         UG    0      0     0 eth0


What means the entry 0.0.0.0 in the routing-table? Is this the dummy for 
default-gw? And if its the dummy for defgw, whats the ip for defgw?


Thank you!


martin


_______________________________________________
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/2006-06/msg00041.html on line 258

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/2006-06/msg00041.html on line 258