You are not logged in.

#1 2014-08-01 20:30:32

jsteel
Package Maintainer (PM)
From: England
Registered: 2008-03-18
Posts: 119

[solved] SSH doesn't work over PPTP VPN with pptpclient

I just got set up with access to my work's PPTP VPN. Using pptpclient I can establish a connection and ping servers. I can use telnet to confirm ports 22, 80 etc are accessible and I can access web services in my browser, but SSH doesn't work.

When I try and SSH to a server it just hangs for a minute and then "Connection closed by 10.70.11.10". Wondering if SSH was using my default route rather than the appropriate tunnel, I tried setting my default route to use the VPN, and ping, telnet, nmap etc still seem to function and return expected results, but SSH still hangs and closes. There are no entries in the sshd log on the servers that I attempted to get access to. I have both Arch and CentOS servers and I cannot get to either via SSH.

My colleague connected to the VPN on his mobile phone and managed to SSH to a server, so it doesn't seem that the VPN is blocking this... any ideas?

Thanks

[update]

Solved! I found that in /etc/ppp/options, un-commenting -mru fixed this for me:

# Disable MRU [Maximum Receive Unit] negotiation (use default, i.e.            
# 1500).                                                                       
-mru

[/update]

Last edited by jsteel (2014-08-10 20:06:31)


PGP key: F40D2072
Key fingerprint: 8742 F753 5E7B 394A 1B04  8163 332C 9C40 F40D 2072

Offline

Board footer

Powered by FluxBB