Jump to content
Not connected, Your IP: 3.133.145.168
imhvnsnt

Unable to port forward to web server on local network

Recommended Posts

I have a pfSense firewall/router setup as an AirVPN client, thus placing my whole network behind the VPN. I'm struggling to get access to a local web server from outside my network (over WAN) and I'm simply trying to figure out which part is configured improperly: port forwarding from pfSense or port forwarding from AirVPN. I've been all over the internet the past couple of days, trying to get this figured out, and I still haven't found a solution so I'm finally making a post of my own.

In the AirVPN port forwarding configuration, I'm seeing the following:

  • public port: 7777
  • protocol: TCP
  • local port: 80
  • public IP: 64.120.44.xxx
  • forwarded to: 10.4.44.xxx
  • TCP Test: "reachable on real IP over the local port 7777, tcp protocol" (yellow)

On pfSense, I have configured the following port forwarding rule: 

  • Interface: AirVPN_WAN
  • Protocol: TCP
  • Source address: any
  • Source ports: any
  • Destination address: any
  • Destination port: 80
  • NAT IP: 192.168.xxx.xxx
  • NAT Port: 80

My understanding is that I should be able to go to the public IP (64.120.44.xxx) with the port public port as a suffix (64.120.44.xxx:7777) and that should forward the traffic to my router on port 80, which then should forward to the local IP address of the webserver on port 80. Is that correct? What am I missing?

If there are any important configurations/details I didn't include which are important for troubleshooting, just let me know.

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

×
×
  • Create New...