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

    Bringing in second Static WAN, need to route to 1 device

    Scheduled Pinned Locked Moved Routing and Multi WAN
    10 Posts 2 Posters 943 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.
    • P
      PerfectBake420
      last edited by

      I am setting up a server that I want to have it's own static ip address. I have a pfsense with 1 more open opt port. I know how to set up the WAN, I just do not know how to make that WAN pass through to the server. Any help is appreciated.

      V 1 Reply Last reply Reply Quote 0
      • V
        viragomann @PerfectBake420
        last edited by

        @perfectbake420

        https://redmine.pfsense.org/issues/11805
        Are you aware of this bug?

        If you're running pfSense CE 2.5.1 that will not work.

        P 1 Reply Last reply Reply Quote 0
        • P
          PerfectBake420 @viragomann
          last edited by

          @viragomann unfortunatly I am on 2.5.1 too. Well is there a way to achieve this when it is working properly? I am in no hurry for this.

          V 1 Reply Last reply Reply Quote 0
          • V
            viragomann @PerfectBake420
            last edited by

            @perfectbake420
            To not get you wrong, are you talking about two WAN connection with different gateways or a second WAN IP on a single connection?

            P 1 Reply Last reply Reply Quote 0
            • P
              PerfectBake420 @viragomann
              last edited by

              @viragomann It will be a completely different wan with a different gateway. I would be using this WAN for only my server. I want the server to have an external IP address.

              V 1 Reply Last reply Reply Quote 0
              • V
                viragomann @PerfectBake420
                last edited by

                @perfectbake420 said in Bringing in second Static WAN, need to route to 1 device:

                I want the server to have an external IP address.

                So an external IP directly on the machine, without doing NAT?

                P 1 Reply Last reply Reply Quote 0
                • P
                  PerfectBake420 @viragomann
                  last edited by

                  @viragomann well....no. I was hoping to pass the wan to the server through the pfsense and be able to use the pfsense to open the ports I want opened. For instance, I have 2 servers here that are accessed from offsite. Both need port 80. I was able to make the first software connect on port 90 with a redirect to port 80. The second software does not allow me to change the port number so I have to use 80. This new server and software also will not allow me to change the port number so I can not do a redirect with it either. I need port 80 to go to 2 different servers on the same pfsense. If I can not do it with a wan passthrough to the new server, I will have to buy another pfsense.
                  I didnt not know if this is possible or not.

                  V 1 Reply Last reply Reply Quote 0
                  • V
                    viragomann @PerfectBake420
                    last edited by

                    @perfectbake420
                    So your goal is a simply port forwarding from two different IPs to two different servers.

                    Yes, of course, that is possible. However, this part want work on the actual 2.5.1. But you can upgrade to 2.5.2 RC where the bug is fixed already. You can do this by switching the branch in System > Update > System Update.

                    Then you have simpy to configure a NAT 1:1 for the server on the second WAN.

                    I was hoping to pass the wan to the server through the pfsense and be able to use the pfsense to open the ports I want opened.

                    This would also be possible when you bridge the WAN2 to the servers internal interface. This way you can assign the real WAN to the server. "I want the server to have an external IP address." let me think, that's your intention.
                    But I'd not recommend this as long as there are not special reasons to do that.

                    P 1 Reply Last reply Reply Quote 0
                    • P
                      PerfectBake420 @viragomann
                      last edited by

                      @viragomann Thanks. Do you know of any issues with 2.5.2 RC since it is not a stable release?

                      V 1 Reply Last reply Reply Quote 0
                      • V
                        viragomann @PerfectBake420
                        last edited by

                        @perfectbake420 said in Bringing in second Static WAN, need to route to 1 device:

                        Do you know of any issues with 2.5.2 RC since it is not a stable release?

                        No. There might be some threads in the upgrade section or some tickets in Redmine: https://www.redmine.org/versions/84.

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