Forgive me if this has been asked: Port forwarding on LAN and WAN



  • I am having an issue. Basically, let's say my external PPPoE (WAN) address is 4.2.2.1. pfSense is located at 192.168.1.1. My computer is located at 192.168.1.2 on LAN. I would like to forward port 80 to my web server on 192.168.1.2.

    So:

    • someone on the web goes to 4.2.2.1, it should open my web server on 192.168.1.2
    • someone on my LAN goes to 4.2.2.1, it should open my web server on 192.168.1.2

    I haven't been able to quite figure this out. What I did ended up rerouting ALL port 80 to my webserver, so I couldn't access any external websites (ie. going to google.com loaded 192.168.1.2).

    I'd appreciate any help, and please note that I am a learning moron when it comes to pfSense, so treat me as such.  ;D

    Edit: I THINK I figured it out. I reset my firewall and port forwarding rules, tried again, and it seems to be working. Not sure what I did differently this time.



  • 1: change the port of your webinterface to something differently than 80
    2: firewall–> NAT make a portforward for your external IP to your internal IP --> let the firewall rule be autocreated
    3: advanced: uncheck the "disable NAT reflection" checkbox.



  • Yup, that's what I did differently. The first time I set it up, I had NAT reflection disabled. The second time, after resetting the rules, I did it all with NAT reflection enabled. Good to know where I went wrong. Thanks!


Log in to reply