pinito 0 Posted ... Hello Everyone,I am opening this thread because I am having issues in connecting to my VNC server outside my local network while I am using AirVPN. Remote Linux (Debian OS) running X11VNCip: 192.168.1.47port: 5925 I forwarded the 5925 port with 192.168.1.47 on my router and everything works great as long as the remote linux machine is not running AirVPN. I also opened and tested the 5925 port in the AirVPN website under Client Area -> Your forwarded ports and when I press the test button I get the green light. So, what Am I doing wrong? Do I have to modify and/or add something in the server side in the IP Tables? If so, could someone please help me out? Quote Share this post Link to post
mblue 4 Posted ... Recommend you run your vnc server to accept connections only from the localhost and tunnel into that host with ssh. See: https://wiki.archlinux.org/index.php/TigerVNC#Securing_vncserver_by_SSH_tunnels Quote Share this post Link to post
zhang888 1066 Posted ... 192.168.1.47 is a local IP. So obviously you cannot reach it while using VPN.You will need to add a static route to it, something likeroute add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.1.1 Quote Hide zhang888's signature Hide all signatures Occasional moderator, sometimes BOFH. Opinions are my own, except when my wife disagrees. Share this post Link to post
eyes878 43 Posted ... If you are forwarding the port with AirVPN, you must use the exit IP of the AirVPN server you are connected to and NOT 192.168.1.47 as that is a local IP, only accessible while on your network. Quote Share this post Link to post