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

[Openvpn-users] Packet truncation


  • Subject: [Openvpn-users] Packet truncation
  • From: "Brad" <didj@xxxxxxxxxxxxxxxxxxxx>
  • Date: Sun, 7 Sep 2003 20:37:56 +0800
  • Importance: Normal

VPN Setup: 10.1.1.2 <- VPN tunnel -> 10.1.1.1
Trying to MASQ connections from 10.1.1.2 through 10.1.1.1's internet
connection.

This works fine for small packets, but upon receiving large packets

09/07-22:29:16.597015 216.51.232.100:80 -> 10.1.1.2:3955
TCP TTL:111 TOS:0x0 ID:3085 IpLen:20 DgmLen:1500 DF
***A**** Seq: 0x50F07E98  Ack: 0xDC38B5F9  Win: 0x4394  TcpLen: 20

Captured from tun0 interface, packet going outbound.  Note the large
size...
Also note, the DF flag :(

With tun0 as default mtu 1255 [linux], the masq'ing box sends back
unreaches
whining about how it cant fragment the packet.

Increased tun0's mtu to 1600 on both ends.

Packets entering the tun0 on device on 10.1.1.1 are fine - score!
Packets leaving tun0 device on 10.1.1.2 are truncated by 211bytes - doh!


Can anyone suggest a workaround/comment on my screwups ;) ?


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