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

One WAN and 2 (LANs) with two differents real static address

Scheduled Pinned Locked Moved Routing and Multi WAN
3 Posts 3 Posters 1.2k 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 Offline
    aloshiii
    last edited by Jan 8, 2013, 10:28 AM

    Hello every body ,
    i have a question to ask ,  ???can i setup pfsense with one WAN  and two LANs with a differents real static ip address? ???
    thank you all.

    1 Reply Last reply Reply Quote 0
    • P Offline
      ptt Rebel Alliance
      last edited by Jan 8, 2013, 11:09 PM

      Yes, you can  ;D

      http://doc.pfsense.org/index.php?title=Special%3ASearch&search=multi+lan

      1 Reply Last reply Reply Quote 0
      • U Offline
        unguzov
        last edited by Jan 11, 2013, 10:29 PM

        First in Firewall/Virtual IPs you need to define your additional IP addresses.
        Use these settings for each additional IP:
        Type: IP Alias
        Interface: WAN
        IP Address(es): xxx.xxx.xxx.xxx/32 (your additional static IP)

        Then go to Firewall/NAT/Outbound and select Manual Outbound and click on "Save". Then add rules for each LAN with these settings:

        Interface: WAN
        Protocol: any
        Source: Network, address: 192.168.20.0/24
        Destination: Type: any
        Translation: Address: –> Interface Address

        Interface: WAN
        Protocol: any
        Source: Network, address: 192.168.30.0/24
        Destination: Type: any
        Translation: Address: --> Select virtual IP with your static IP

        Then test from LAN 192.168.20.0 and 192.168.30.0 with http://checkip.org
        Do not forget to add rules in LAN1 and LAN2 to disable traffic from LAN1 to LAN2 and from LAN2 to LAN1.

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