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

    Multi IP Single WAN

    Routing and Multi WAN
    3
    4
    2.1k
    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
      apmuthu
      last edited by

      pfSense v1.2.3 RC1
      One LAN - 192.168.10.1/24
      One WAN - Static IPs - 15.25.35.60/25
      How do we forward :
      all WAN traffic from StaticIP 15.25.35.61 to LAN achine at 192.168.10.18 ?
      all WAN traffic from StaticIP 15.25.35.62 to LAN achine at 192.168.10.30 ?

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG
        GruensFroeschli
        last edited by

        • Create VIPs for your additional IPs.
        • Create portforwards: either 1:1 NAT, or normal portforwards with AoN rules.

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • A
          apmuthu
          last edited by

          Thanks!

          The following did the job:

          Firewall -> Virtual IPs  -> +
          Type: Proxy ARP
          Interface: WAN
          IP Addresses(s): Type:    Single Address
                                 Address: Global IP2
          
          Firewall -> Aliases => +
          Name: Server1Alias
          Type: Host(s)
          Host(s): LAN IP of Server1
          
          Firewall -> NAT -> NAT 1:1 -> +
          Interface: WAN
          External subnet: GlobalIP2
          Internal subnet: Server1Alias
          
          Firewall -> Rules
          Action: Pass
          Interface: WAN
          Protocol: any
          Source: Any
          Destination: Type:     Single Host or Alias
                           Address: Server1Alias
          
          
          1 Reply Last reply Reply Quote 0
          • L
            labasus
            last edited by

            Thx for sharing your solution, but maybe somebody know it works with different public subnets?

            Public WAN IPs
              xx.xx.1.1/29 gw xx.xx.1.1
              xx.xx.2.1/29 gw xx.xx.2.1
              xx.xx.3.1/29 gw xx.xx.3.1
            Local LAN IPs
              192.168.0.0/16

            Problem: to handle with NAT 1:1 from public to lan IPs

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