aide199 0 Posted ... Hi, can someone please help me with port forwarding. I use a Vodafone sim in my sim router and all is good apart from the fact that Vodafone use CGNAT and block port forwarding. I have a Ubuntu server from which I am trying to setup Nextcloud Server and need to forward the port 80 & 443 to my local ip address od 192.168.0.3 so that I can access it outside of my internal network. Can someone please give me step by step (easy) instructions on how to do the using Airvpn port forwarding Thanks in advance Quote Share this post Link to post
ss11 20 Posted ... You cannot forward ports of lower range than 1024. Since it's a shared service, you can't forward what ports you want, but you can forward what ports you find free or are randomly assigned to you. I assume you don't want to run the VPN client on the router, and run it on the Ubuntu server. In this case, you do not care about CGNAT and the router, and the 192.168 internal address. the port forwarding happens from the public internet (AirVPN server public IP address) to your server running Nextcloud. You can go to client area -> port forwarding , get a random port and redirect it to port 443 on your local machine. Make sure the webserver listens on all interfaces. Then you connect to your server from the public internet by using $yourname.airdns.org:$randomportassigned . If you setup the vpn on your router (which I doubt is what you asked) you need to do some iptables firewalls to further redirect traffic from the VPN to 192.168.0.3. It's not impossible though. Quote Share this post Link to post