Hi guys, I need some help because I’d like to know if it’s possible to do something like in the picture:
With words: my internet provider does not support static private IP addresses therefore I cannot access my ssh server on PC02 (debian 9) from PC03 through “the internet”.
As a solution I tried to use a VPN configuring the router (GL-MT300N-V2) as per instructions. Everything worked well but on PC01 which I use for work to connect to a website to get quotations does not like the fact that the VPN is connecting from another country other than my usual one. Needless to say the VPN provider doesn’t have any server with dedicated IP in my country .
Long story short, If I use the VPN I get ssh access from the outside but no connection to the website which I use for work.
The only solution that comes to mind is if I can separate the vpn traffic directly from PC02, or somehow force the ssh server (openssh) to use the vpn.