I have a Netscreen vpnc VPN tunnel set up which I connect from different Linux boxes (Ubuntu, Lubuntu, Antergos), and all of them show the same behaviour.
When I use a USB modem attached to the computer to connect to the Internet, I can connect the VPN tunnel and use any service - HTTP, HTTPS, Ping, SSH - then as expected.
If, however, I connect to the Internet via WiFi hotspot (and I already tested with several different ones, from home, office and some free public WiFi), only HTTP, HTTPS and PING seems to work, whilst SSH stucks in the middle of the initial negotiation:
$ ssh -v firstname.lastname@example.org OpenSSH_6.7p1 Ubuntu-5ubuntu1.4, OpenSSL 1.0.1f 6 Jan 2014 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug1: Connecting to 188.8.131.52 port 22. debug1: Connection established. debug1: key_load_public: No such file or directory debug1: identity file /home/user/.ssh/id_rsa type -1 debug1: key_load_public: No such file or directory debug1: identity file /home/user/.ssh/id_rsa-cert type -1 [ ... cut ... ] debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_6.7p1 Ubuntu-5ubuntu1.4 debug1: Remote protocol version 2.0, remote software version OpenSSH_5.1 debug1: match: OpenSSH_5.1 pat OpenSSH_5* compat 0x0c000000 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-ctr email@example.com none debug1: kex: client->server aes128-ctr firstname.lastname@example.org none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<3072<8192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
and after some time:
Connection closed by 184.108.40.206
Route is setup the same way as with USB modem attached, and iptables are empty. How come that it does not work, and what to I have to do to get it work?