Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

PPTP/PPPoA and Policy Routing, MTU issue?

I have a NIC set as a PPPoA/PPTP tunnel that connect to a PPTP VPN at my ISP (only way to get static IP from them). The MTU on it is 1500, also my WAN is Cable with MTU = 1500
The VPN "works".

To test it out I have setup a Policy Route such as:

Type: Interface route
Source network: my laptop host
Services: Any
Destination network: Internet
Target Interface: PPPoA VPN Interface

This work pretty well for ping, internet download etc, however I noticed two things:

1) Some website partially load or load forever, wireshark show a HTTP GET then a ACK back and nothing else.

2) I sometime see the message: "ICMP Fragmentation Needed"

Any ideas?

Thanks!


This thread was automatically locked due to age.
Parents
  • Is this a new NIC and/or second connection to your ISP?

    Cheers - Bob
  • The setup is weird but here it is:

    ASG has 3 Physical NIC:

    1) WAN (Cable modem to ISP: MUT 1500)
    2) LAN 
    3) NIC setup as PPPoA, this nic is connected my LAN switch (same as LAN NIC #2) 

    So the PPTP traffic end up on my LAN and then go out on WAN (The only physical NIC that goes on the internet).

    I have 2 Policy Routing rules,

    1) State  that all traffic going to the IP of the PPTP VPN server must go over the WAN interface (because otherwise the PPTP traffic ended up by trying to go over the PPTP (PPPoA) interface which caused an infinite loop of high cpu usage and bandwidth and tunnel disconnecting.

    2) the rule above, stating that one host go over the PPPoA interface.

    The PPTP tunnel seem reliable, it doesen't disconnect or anything.

    Ping works fine, most website work fine, but some half load (mostly when trying to get to other website such as for a Ads etc), i.e AMD.com work fine, but when trying to download a file (from a different hostname.amd.com, the file dosen't start even if tried many times.

    However for site that works the throughtput is good, (I can get 30Mbps on speedtest website).

    I understand that this is a complicated setup, that shouldn't exist, but it does something that ASG dosen't do.. (Client VPN connection..)
  • a friend suggested that I set PPPoA interface to 1492 (default), WAN: 1500,

    and set my workstation MTU (for testing) to something low, since MTU are negotiated at TCP establishment.

    If that fix the issue, try looking at TCP MSS clamp:

    iptables -A OUTPUT -o ppp+ -p tcp --tcp-flags SYN,RST SYN -j TCPMSS
    --clamp-mss-to-pmtu
    iptables -A FORWARD -o ppp+ -p tcp --tcp-flags SYN,RST SYN -j TCPMSS
    --clamp-mss-to-pmtu

    Aparently if my workstation sends IP fragment at a MTU of 1500, the PPTP flagment it, however the data coming back might not be and gets dropped..
Reply
  • a friend suggested that I set PPPoA interface to 1492 (default), WAN: 1500,

    and set my workstation MTU (for testing) to something low, since MTU are negotiated at TCP establishment.

    If that fix the issue, try looking at TCP MSS clamp:

    iptables -A OUTPUT -o ppp+ -p tcp --tcp-flags SYN,RST SYN -j TCPMSS
    --clamp-mss-to-pmtu
    iptables -A FORWARD -o ppp+ -p tcp --tcp-flags SYN,RST SYN -j TCPMSS
    --clamp-mss-to-pmtu

    Aparently if my workstation sends IP fragment at a MTU of 1500, the PPTP flagment it, however the data coming back might not be and gets dropped..
Children
No Data