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

Assign Public IP to the LAN

Scheduled Pinned Locked Moved Firewalling
6 Posts 4 Posters 2.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.
  • A
    anogmus
    last edited by Apr 19, 2014, 12:22 AM

    Hello,

    I have several Public IP addresses that I assigned to WAN.
    if I do 1:1 on WAN interface to specific host 10.5.1.10 on my LAN it does the trick and my public IP this PC does change to the one I want it to be. But only this specific machine gets this public IP address translated.

    Logically i would assume another rule needs be create 1:1 translate network 10.5.1.1/24 to the selected public ip. In this case I lose connection to internet.

    I kind of ran out of ideas!

    How can I make whole LAN to be on selected public IP address instead of been on routers IP?

    1 Reply Last reply Reply Quote 0
    • V
      viragomann
      last edited by Apr 19, 2014, 9:52 AM

      Go to interfaces bridge tab and add a bridge and select LAN and WAN.

      1 Reply Last reply Reply Quote 0
      • M
        mikeisfly
        last edited by Apr 19, 2014, 10:11 AM

        I would setup gateways and then in your rules tell your lan to use what ever gateway you want. Make sure that you order them right so your one computer will use one public but the rest of the network will you the other public. You may have to sub interface your wan port and put your public IPs all on your router too.

        1 Reply Last reply Reply Quote 0
        • C
          cmb
          last edited by Apr 20, 2014, 12:27 AM

          You'll need to configure manual outbound NAT accordingly, Firewall>NAT, Outbound tab.
          https://doc.pfsense.org/index.php/Outbound_NAT
          and in greater detail in the 2.1 book available to gold subscribers @ portal.pfsense.org

          @viragomann:

          Go to interfaces bridge tab and add a bridge and select LAN and WAN.

          Don't do that, that's not going to help anything and you don't want your LAN on the same broadcast domain as WAN unless you have a very specific requirement for that, which you don't seem to.

          @mikeisfly:

          I would setup gateways and then in your rules tell your lan to use what ever gateway you want.

          Gateways in a single WAN scenario have no relevance to how traffic is NATed.

          1 Reply Last reply Reply Quote 0
          • A
            anogmus
            last edited by Apr 20, 2014, 2:17 AM

            Thank you sir you clearly know what are you talking about!

            @cmb:

            You'll need to configure manual outbound NAT accordingly, Firewall>NAT, Outbound tab.
            https://doc.pfsense.org/index.php/Outbound_NAT
            and in greater detail in the 2.1 book available to gold subscribers @ portal.pfsense.org

            @viragomann:

            Go to interfaces bridge tab and add a bridge and select LAN and WAN.

            Don't do that, that's not going to help anything and you don't want your LAN on the same broadcast domain as WAN unless you have a very specific requirement for that, which you don't seem to.

            @mikeisfly:

            I would setup gateways and then in your rules tell your lan to use what ever gateway you want.

            Gateways in a single WAN scenario have no relevance to how traffic is NATed.

            1 Reply Last reply Reply Quote 0
            • C
              cmb
              last edited by Apr 20, 2014, 7:44 AM

              @anogmus:

              Thank you sir you clearly know what are you talking about!

              One might say I wrote the book on it. In fact, I did.  ;D

              1 Reply Last reply Reply Quote 0
              6 out of 6
              • First post
                6/6
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received