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

    Multiple WAN firewall rules

    Routing and Multi WAN
    3
    6
    2.7k
    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.
    • ?
      Guest
      last edited by

      Hi, My ISP provides me with up 5 static public IP's and I'd like to know if pfsense will allow me to create rules that forward traffic bound for one of the 5 public IP's to any internal NAT address. I am able to do this currently only with two interfaces using a Netgear device, but I require more public IP's now. My ISP requires a unique MAC for each external interface, hence the move to pfsense. I've read through many of the posts, but haven’t seen this exact scenario. I do not need load balancing or failover, just routing capability, and all the public IP's are on the same subnet. Thanks for the help.

      1 Reply Last reply Reply Quote 0
      • H
        hoba
        last edited by

        • go to Firewall>Virtual IPs and create the additional IPs there
        • add portforwards or 1:1 mappings at firewall>NAT for these IPs
        • add firewalrules at firewall>rules for traffic that you want to pass (when using portforwards they will be autocreated, for 1:1 you have to manually add them)
        1 Reply Last reply Reply Quote 0
        • dotdashD
          dotdash
          last edited by

          @ziggyrama:

          My ISP requires a unique MAC for each external interface

          I think this is the tricky part of the setup. If you search, there are several people who had similar questions. Unfortunately, I don't recall a viable solution being offered. My solution would be to try to get the ISP to act sane, and change to a new provider if they didn't.

          1 Reply Last reply Reply Quote 0
          • H
            hoba
            last edited by

            VIP type CARP will generate a fake MAC for the IP.

            1 Reply Last reply Reply Quote 0
            • ?
              Guest
              last edited by

              Thank you for the replies. I've gone ahead and setup pfsense and I'll experiment with it over the weekend. Unfortunately, Surewest migrated from their old Cajun stuff (that didn’t care about using fake MAC's) to new Cisco equipment and they now force the traffic to go out the same MAC it originated on. It will probably be best that I just do some more testing, but was curious if it was even a possibility.

              1 Reply Last reply Reply Quote 0
              • H
                hoba
                last edited by

                I think proxyARP will use the same macadress for traffic. If they route these IPs to you anyway regardless of a macadress you also can use type "other".

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