Hi All,
This is the continuation of the mail which I had posted with the subject [Help requested for route command ( To access other side of VPN Server )]
IP forwarding
IPtables flushed
selinx disabled
route command pushed to client
My VPN Client ip is 192.168.3.101
and My VPN Server interfaces are
eth0= connected to the public IP
eth1= interface is
192.168.50.30/24 I did a openvpn connection from my client to OpenVPN Server now
my client interfaces are
eth0 = 192.168.3.101
tun0 = 10.28.0.10
My Server interfaces are
eth0 = Public IP
eth1 =
192.168.50.30/24 LAN GW = 192.168.50.1
tun0 = 10.28.0.1
My Server route -n command shows
[root@reserved-94 openvpn]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.10.10.11 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
10.28.0.2 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
XXX.XX.XX.XX 0.0.0.0 255.255.255.252 U 1 0 0 eth0
10.28.0.0 10.28.0.2 255.255.255.0 UG 0 0 0 tun0
192.168.50.0 0.0.0.0 255.255.255.0 U 1 0 0 eth1
0.0.0.0 XXX.XX.XX.XX 0.0.0.0 UG 0 0 0 eth0
I am able to connect to the server from my clients, but clients cannot ping behind VPN eth1 interfaces
ie from my client I can ping VPNServer eth1 (192.168.50.30), but cannot ping to the other side, It has to do some setting with route command.
I am able to connect to the server from my clients, but clients cannot ping behind VPN eth1 interfaces
ie from my client I can ping VPNServer eth1 (192.168.50.30), but cannot ping to the other side, ie to some machine inside VPN server LAN , let it be 192.168.50.25 . It has to do some setting with route command.
Please note that :-
In VPN server machine (192.168.50.30) when I did a reverse route to my clienet PC network,
ie route add -net 192.168.3.0 netmask 255.255.255.0 gw 10.28.0.2
and in the VPN -LAN -PC (192 .168.50.25) when I did
route add -net 192.168.3.0 netmask 255.255.255.0 gw 192.168.50.30
I am able to ping from VPN-LAN Machine to my client ie from 192.168.20.25 I can ping to 192.168.3.101
Some of the route command which I tried in the VPN server and was not success are
route add -net 192.168.50.0 netmask 255.255.255.0 gw 192.168.50.1
Now the situation is
From the client I can traceroute till VPN server and vice versa
From VPN -LAN -PC (192.168.50.25) I can ping to VPN Client 192.168.3.101 (after giving route add -net 192.168.3.0 netmask 255.255.255.0 gw 192.168.50.30 at 20.25)
I cannot ping /tracerote from client to VPN LAN PC ( ie Cannot ping from 192.168.3.101 to 192.168.50.25)
I have attached an image of the Network
thanks
Joseph John