My local linux server is connected to the internet via router. Router (192.168.0.1) does NAT from ISP assigned IP address (which changes from time to time) to server's local IP (192.168.0.102).
When server connects to VPN (PrivateInternetAccess), and tun0 adapter starts (with different IP every time) all of the forwarded services (like web server) can no longer be accessed from outside networks.
How can I configure the server to hear and respond to http(s), ssh(running on non-standard port) and ftp requests while VPN is running. It does not matter to me whether that specific traffic goes through VPN as long as all the other traffic does.