Advanced Port Forwarding

Hi there! I have noticed that a few VPNs (including, obviously, PIA) has support for port forwarding; I was looking for that functionality, but I have some questions. In particular: can I connect to my computer (connected to PIA VPN) from "the outside"?
Let's make an example: I am out, and I want to connect to my personal server at home over SSH. My home server is connected to the internet with VPN, but the PC I'm actually using is not. Now, if I enable port forwarding (even on my router, I tried different combinations), and start an SSH server listening on the port supplied by the VPN server, when I try to connect it does not work as expected (i.e. it does not work at all).
Am I doing something wrong or it is simply impossible to do something like that with "normal" VPN services?

P.S.: I am using Debian Sid, with (perfectly working) PIA OpenVPN configurations for Network Manager and the new shell script API for port forwarding (I am actually using the root user for personal reasons, and by the way the PIA GNU/Linux application does not work even for normal users, but I don't care about that :D )

Thank you in anticipation for your time and help!

Comments

  • can I connect [...] from "the outside"?

    yes.

    Am I doing something wrong or it is simply impossible to do something like that with "normal" VPN services?
    compound question. 1st part: probably. 2nd part: if 'normal' does not include PIA port forwarding, then yes.

Sign In or Register to comment.