Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

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

    Scheduled Pinned Locked Moved Firewalling
    3 Posts 2 Posters 1.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      SG
      last edited by

      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 Reply Last reply Reply Quote 0
      • GruensFroeschliG Offline
        GruensFroeschli
        last edited by

        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.

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • S Offline
          SG
          last edited by

          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!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.