-   Linux - Networking (
-   -   openvpn client couldn't reach other servers behind vpn server (

jeffhan 07-06-2006 04:40 PM

openvpn client couldn't reach other servers behind vpn server
The network layout is like this (see detail in the diagram)

i have a linksys router connect to the internet and get the internet feed.
The OpenVPN server's eth1 port is connected to the router's LAN port, Both of them are in subnet.
The OpenVPN server's eth0 port is connected to the Project Server directly, both of the ports are in
The VPN subnet is

When the client use openvpn client tool connect to the OpenVPN server, the configuration is like that:

Client computer
IP address:
has route to and, so the client could ping openvpn server by using IP or
route print:
Active Routes:
Destination Netmask Gateway Interface Metric 20 1 30 30 30 1 20 1 20 20 1 30 20 1 2 1 1
Default Gateway:

OpenVPN server:
tun0(openvpn virtual port):
#ip route dev tun0 proto kernel scope link src via dev tun0 dev eth1 scope link dev eth0 scope link dev lo scope link
default via dev eth1

Project Server:
IP address:
default gateway:

Now i could ping from client, but failed to ping
On the OpenVPN server i could ping server), vice versa.

Problem is when i tried to ping from client side, it failed.

jeffhan 07-07-2006 04:46 PM

please help me, thank you

jjge 08-27-2006 11:20 PM

I have the same problem. What is in your route table?
ine says (on the server):
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface * UH 0 0 0 tun0 * U 0 0 0 tun0 UG 0 0 0 tun0 * U 0 0 0 eth0
default UG 0 0 0 eth0

The 122.100 network is in this case internal (I will change this later). I do not yet see how tun0 is to be connected to eth0, and I suspect that is the problem.

All times are GMT -5. The time now is 03:23 AM.