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

    HTTP port not reaching external traffic

    NAT
    3
    5
    314
    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.
    • Z
      Z70DMS
      last edited by

      Hello,

      I setup an HTTP server on my network and created a NAT rule to have traffic reach the WAN network. Unfortunately the traffic does not reach the external network. Ports are open on the server and I can reach the HTML on my local network but not when trying from the WAN link. I tried an online port scanner and it states that port 80 is closed on my WAN IP. I created the same rule for MySQL and the scanner is capable of connecting to port 3306.
      I also changed the ports for PFsense web config portal to 8080 and 8443 but same issue.

      Has anyone had the same issue with PFsense?

      S 1 Reply Last reply Reply Quote 0
      • S
        SteveITS Galactic Empire @Z70DMS
        last edited by

        @z70dms Does the firewall on the web server allow connections from any address?

        Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
        Upvote 👍 helpful posts!

        Z 1 Reply Last reply Reply Quote 0
        • Z
          Z70DMS @SteveITS
          last edited by

          @steveits

          Hello,

          Below is a copy of my firewall rule on the server
          Status: active

          To Action From


          22/tcp ALLOW Anywhere
          80/tcp ALLOW Anywhere
          443/tcp ALLOW Anywhere
          Apache ALLOW Anywhere
          22/tcp (v6) ALLOW Anywhere (v6)
          80/tcp (v6) ALLOW Anywhere (v6)
          443/tcp (v6) ALLOW Anywhere (v6)
          Apache (v6) ALLOW Anywhere (v6)

          1 Reply Last reply Reply Quote 0
          • GertjanG
            Gertjan
            last edited by

            06b8e30e-a8f9-49ac-a810-cecf4c893147-image.png

            Traffic that matches a Firewall + NAT rule will have it's States increment.
            Did you see the same thing ?
            No (0/0) States means traffic never arrives at the pfSense WAN.

            You can also run a packet capture on your LAN interface : use port 80 (as a destination) and the IP of the web server (as a destination) : you should see traffic if there is some, flowing 'out' of the LAN NIC.

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

            Z 1 Reply Last reply Reply Quote 0
            • Z
              Z70DMS @Gertjan
              last edited by

              @gertjan

              Hello,
              I was able to resolve the issue
              The port traffic was OK as I was able to telnet to a website using port 80
              The issue was related to Apache24 configured to localhost
              I had to reimage another server and installed NGINX and set the config file details to WWW.
              After doing this I am now able to connect to my serving using an external ISP.

              Thank you everyone for your response!

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