Hi,
I setup an openvpn server and I am able to get a client to connect to it
and get an IP. When I ping an internet host from the client, I see the
ping request going out and the reply coming in up to the server but for
some reason the reply is not send back to the client.
The client is on our local network with IP 10.0.0.197
The server is on our local network but with a public IP X.X.X.161
The server openvpn IP is 192.168.20.1
and the client gets 192.168.20.2.
>From the client , I am pinging X.X.X.76.
As shown in the attached ethereal capture, the ping request is correctly
sent out and come back addressed to 192.168.20.2 but then I would expect
to see a packet go from X.X.X.161 to 10.0.0.197 but it does not happen.
The server is able to reach 10.0.0.197 so I am not sure what's wrong.
I server is a linux box (Ubuntu LTS) with openvpn2, I enabled ip
forwarding and iptable forwarding to the tap interface:
# cat /proc/sys/net/ipv4/ip_forward
1
# iptables-save
# Generated by iptables-save v1.3.3 on Fri Oct 13 11:07:18 2006
*filter
:INPUT ACCEPT [95475:39843262]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [104515:52149224]
-A INPUT -i tap+ -j ACCEPT
-A FORWARD -i tap+ -j ACCEPT
COMMIT
# Completed on Fri Oct 13 11:07:18 2006
Any idea ?
Thanks,
Christophe
--
Christophe Barbe - Software Engineer
Objective Systems, Inc.
REAL WORLD ASN.1 AND XML SOLUTIONS
Tel: +1 (484) 875-9841
Fax: +1 (484) 875-9830
Toll-free: (877) 307-6855 (USA only)
http://www.obj-sys.com
Attachment:
ethereal.png
Description: PNG image
-------------------------------------------------------------------------
Get stuff done quickly with pre-integrated technology to make your job easier _______________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users
|