This might sound a little vague at first, but bear with me, it might also get interesting.
The setup is:
- Servers behind tight firewalls with only port 22 open.
- Web Based VPN client (juniper) which creates another interface on my computer with an IP on the server's network and green cards with the firewall for that one port.
- My router, with a nat configured towards my own PC's (windows 7) port
- My happy putty forwarding my server's
- Firewalls and suff configured in order to allow my computer answer that port from the internet
So far, so good. Once everything is hooked up, I can try to open another ssh session to
ServerUser@locahost:1010 and it will take me to the server no problem.
Now, when I try ssh to my public address, lets say,
serverUser@188.8.131.52:1010, the connection will time out... (yes, I'm doing it from outside the computer connected to the VPN, namely my phone, via 3G).
I'm no network expert, so my first guess was that the guys developing the VPN client would have done something to prevent exactly what I'm trying to do... Still, I think its more likely that I'm wrong and I'm just missing some networking aspect of the problem.
Just to make sure, I installed OpenSSH and tried to connect to my own PC from the internet and it worked. So I think I can say I have no problem with my networking in that part.
I could put more information here if needed, I'm just not sure from where to start.. What you guys say?
I've been doing some testing and I found some interesting points. (by the way, sorry for the lack of methodology doing this, I just really don't know which thread to follow when it comes to networking).
- This elusive VPN client installs a interface with metric 1
- I cannot manually change the metric of the new interface (it will disconnect the client)
- I have installed a
sshdon my phone for simpler testing and found that once connected to the VPN I'm dipper trapped than I expected: can't get in or out from my computer if not related to the servers.
- I connected my computer with 2 different ifs: ethernet and Wifi. After connected cant get out through either.
Hope it helps...