|
|
Aaron P. Martinez wrote:
> Which sample configs, and can you post them?
Thanks for replying, Aaron.
The network configuration I have is the following:
-------- ------------- ------------- --------
| Client | --- | NAT router1 | ----------- | NAT Router2 | --- | Server |
-------- ------------- ------------- --------
The Server is on a DMZ (incoming connections reaching NAT Router2 are
forwarded to the server). I have already used OpenVPN successfully under
this scenario. But it was with OpenVPN 1.x. Not only I was able to reach
other hosts on the server's LAN, but I was also able to use the VPN as my
default route and, thus, access the Internet through the server.
Now I want to do the same with OpenVPN 2.0, but no success so far. My
server.conf is exactly the same as the sample-config-files/server.conf
shipped with OpenVPN, with the exception of the line:
;push "redirect-gateway"
which I uncommented. On the client side, the client.conf is also the same as
the sample-config-files/server.conf with the exception of:
remote my-server-1 1194
which was obviously changed.
According to the logs on both sides, the connection is successfully
established. I enable ip_forward and proxy_arp on the server, but I am only
able to ping 10.8.0.1. Nothing more. Here goes my client routing table
after a OpenVPN connection has been established:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.8.0.5 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
10.8.0.1 10.8.0.5 255.255.255.255 UGH 0 0 0 tun0
81.193.37.106 192.168.0.1 255.255.255.255 UGH 0 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 10.8.0.5 0.0.0.0 UG 0 0 0 tun0
Everything looks fine. But I am not able to anything useful with the VPN
created...
Mark
____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users
|