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

    Multiple WAN-ip: Use Virtual IP or use second network adapter?

    Scheduled Pinned Locked Moved NAT
    1 Posts 1 Posters 530 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.
    • J
      joppybt
      last edited by

      I have two external WAN ip-addresses, one ending in .135 en one ending in .136. This I want to NAT as follows:

      x.y.z.135 port 80 –> internal webserver 1
      x.y.z.135 port 25 --> internal mailserver 1
      x.y.z.136 port 80 --> internal webserver 2
      x.y.z.136 port 25 --> internal mailserver 2

      The usual solution I find is to assign x.y.z.135 to the WAN port and make the other ip x.y.z.136 a Virtual IP. Next I can use NAT port forwarding on the new Virtual IP.

      Alternatively, as I am running my pfSense virtualized on ESXi 6, I could also add another network card and have a completely separate WAN interface for the second ip-address. That way I would not need Virtual IP's at all (I think).

      The second solution with an extra adapter seems much simpler to me. Why do I never find that as a suggestion on the Internet or on this forum. Am I overlooking something?

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