PFSENSE: 2nd WAN IP for 2nd internal LAN



  • 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



  • 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.


Log in to reply