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

[Openvpn-users] Cannot connect Windows to Linux thru NAT


  • Subject: [Openvpn-users] Cannot connect Windows to Linux thru NAT
  • From: JamesSturdevant <james@xxxxxxxxxxxxxxxxxxxx>
  • Date: Wed, 17 Mar 2004 15:43:56 -0600

I can establish a TCP tunnel between a Windows client behind a NAT router and a Linux gateway (LEAF Bering) but when I try to ping a system on the remote network from Windows I get this on the Linux System:
"Bad encapsulated packet length from peer (0)"
and the connection resets.


I have tried to reduce the connection to it's simplest configuration.

Here is the Windows Config:
dev tun0
link-mtu 1500

rport 5500
proto tcp-client

remote 999.888.777.666
ifconfig 172.16.5.1 172.16.5.2
route 172.16.201.0 255.255.255.0

verb 7
disable-occ

Here is the Linux Config:
dev tun0

link-mtu 1500


lport 5500 proto tcp-server


local 999.888.777.666 ifconfig 172.16.5.1 172.16.5.2

route 172.16.2.4 255.255.255.255
verb 7
disable-occ


JamesS


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