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

    NAT port 80

    Scheduled Pinned Locked Moved NAT
    9 Posts 2 Posters 4.1k 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.
    • T
      thecrazyspy
      last edited by

      Hello,

      i have a problem with my server, i have a DMZ and 2 server with different sites. I nat my two external IP on my internal IP but to external i can't go on my web site.

      sorry for my english ^^

      Have you an idea

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG
        GruensFroeschli
        last edited by

        How did you test that it's "not working"?
        Did you change the webGUI of the pfSense to a different port than 80?

        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
        • T
          thecrazyspy
          last edited by

          i want to acces on my web site in dmz not webgui pfsense
          i have nat my port 80 on my port 80 in my dmz but don't work

          1 Reply Last reply Reply Quote 0
          • GruensFroeschliG
            GruensFroeschli
            last edited by

            You have to change the port of the webgui to something else than port 80.
            Otherwise you cannot forward the port 80 because pfSense is already using it.

            Can you show screenshots of your forwarding rule and your firewall rule?

            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
            • T
              thecrazyspy
              last edited by


              1.JPG
              1.JPG_thumb
              2.JPG
              2.JPG_thumb

              1 Reply Last reply Reply Quote 0
              • T
                thecrazyspy
                last edited by

                rules

                3.JPG
                3.JPG_thumb

                1 Reply Last reply Reply Quote 0
                • GruensFroeschliG
                  GruensFroeschli
                  last edited by

                  You kind of mix things up.
                  Either you set up 1:1 NAT or you port forward. Not both.
                  Also did you set up VIPs from which you want to forward traffic?

                  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
                  • T
                    thecrazyspy
                    last edited by

                    why can not I put both?
                    I did not get a VIP, I do not know how to do with it.
                    I therefore put in place of 1:1 alone, it should ok?

                    1 Reply Last reply Reply Quote 0
                    • GruensFroeschliG
                      GruensFroeschli
                      last edited by

                      You should start by finding out what you're trying to do:

                      Try to read up what NAT is and how it works.
                      Google and wikipedia can help you there.

                      You should also read the tutorials and howtos in the links you can find here:
                      http://forum.pfsense.org/index.php/topic,7001.0.html

                      After that draw a diagram of what you want, which IP you have where and what should have access to what.

                      If you have that:
                      Set up VIP's where required (your additional IP's) and create port forwards or 1:1 NAT entries depending on your needs.

                      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
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.