justrandomperson 0 Posted ... Hi, I have a linux machine using VPN, however I cannot access a webserver running on it at this time. How can I leave some ports opened while using VPN? Quote Share this post Link to post
OpenSourcerer 1442 Posted ... If you connect with your webserver, the exit IP of the server it's connected to must be used to connect to your webserver. It's like it changed public IPs, so you can't use its IP from the datacenter. Example: Use if not connected: 11.22.33.44 Use if connected: 55.66.77.88 Furthermore, on AirVPN it is impossible to forward any port lower than 1024, so a direct forward of port 22, 80, 443 is impossible. What you can do is forward random ports to local ports 22, 80 and 443, ex. 9000, 9001, 9002. Then connect like this: SSH: 55.66.77.88 port 9000 HTTP: 55.66.77.88 port 9001 HTTPS: 55.66.77.88 port 9002 You'll have an easier time if you also specify a DDNS name upon port forwarding. Then you can reach the SSH server independently of the server AirVPN-Suite connected you to like this: myname.airdns.org port 9000Some more info is in the FAQ. Quote Hide OpenSourcerer's signature Hide all signatures NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT. LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too! Want to contact me directly? All relevant methods are on my About me page. Share this post Link to post