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

[Openvpn-users] Routing problem with openvpn and host client


  • Subject: [Openvpn-users] Routing problem with openvpn and host client
  • From: Franco Spinelli <frspin@xxxxxxxxxx>
  • Date: Sat, 06 Mar 2004 17:22:39 +0100

I have installed openvpn 1.6rc2 on my server at office and on my client
at home
All is ok and I can ping both end of tunnel
>From my server machine (private IP 192.168.0.3) now I have this routing
table:

Kernel IP routing table
Destination     Gateway   Genmask         Flags   MSS Window  irtt Iface
10.1.0.2        *         255.255.255.255 UH        0 0          0 tun0
192.168.0.4     10.1.0.2  255.255.255.255 UGH       0 0          0 tun0
my.public.net   *         255.255.255.0   U         0 0          0 eth1
192.168.0.0     *         255.255.255.0   U         0 0          0 eth0
169.254.0.0     *         255.255.0.0     U         0 0          0 eth1
127.0.0.0       *         255.0.0.0       U         0 0          0 lo
default         router    0.0.0.0         UG        0 0          0 eth1

and I can ping correctly my client at the other end of tunnel
(192.168.0.4)

>From my client machine (private IP 192.168.0.4) I have this routing
table:

Kernel IP routing table
Destination     Gateway   Genmask         Flags   MSS Window  irtt Iface
10.1.0.1        *         255.255.255.255 UH        0 0          0 tun0
192.168.0.7     10.1.0.1  255.255.255.255 UGH       0 0          0 tun0
192.168.0.0     *         255.255.255.0   U         0 0          0 eth0
169.254.0.0     *         255.255.0.0     U         0 0          0 eth0
127.0.0.0       *         255.0.0.0       U         0 0          0 lo
default         router    0.0.0.0         UG        0 0          0 eth0

and I can ping correctly 10.1.0.1 (end of tunnel) but not at all
192.168.0.7, private address of a machine in the LAN of my server.
Server machine have ip_forward set to 1 and (for this test) any firewall
down.

Machine with 192.168.0.7 is connected trhou a switch to private side
(LAN) of server (192.168.0.3)
 
Where I am wrong ? Must I set anything on my 192.169.0.7 machine ?

Regards
Franco Spinelli




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