Jump to content
Not connected, Your IP: 3.144.6.144
Sign in to follow this  
aide199

Help with Port Forwarding

Recommended Posts

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

Share this post


Link to post

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.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image
Sign in to follow this  

×
×
  • Create New...