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

    PFSENSE: 2nd WAN IP for 2nd internal LAN

    Scheduled Pinned Locked Moved NAT
    pfsense2 public addre
    2 Posts 2 Posters 295 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.
    • V
      vladob
      last edited by

      Hi there,

      I have 1 physical line with 2 IP addresses assigned.

      ISP gave me this information 192.168.1.2 192.168.1.3 with gateway 192.168.1.1 are its internal addresses. Public IP A is fully translated to 192.168.1.2 by routing rules of ISP and Public B to 192.168.1.3.

      I setup pfsense simply that WAN has IP 192.168.1.2, GTW 192.168.1.1, setup LAN with IP 192.168.0.2 and everything works OK, i.e. I can connect any computer to LAN and all of them are connected to internet. When I ask internet who am I, I receive my address A.

      What I need is to create another network LAN2, give it IP 192.168.2.2 and I need computers from this network to access internet as address B.

      Can you advice how to do it?

      many thanks

      Vlado

      1 Reply Last reply Reply Quote 0
      • chpalmerC
        chpalmer
        last edited by chpalmer

        You would set up a virtual address.

        https://docs.netgate.com/pfsense/en/latest/firewall/virtual-ip-address-feature-comparison.html?highlight=virtual

        Then either port forward or use 1:1 NAT to the second address. Plus some WAN firewall rules to let the traffic pass.

        Triggering snowflakes one by one..
        Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

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