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

    Rules for specific Virtual IP

    Scheduled Pinned Locked Moved Routing and Multi WAN
    2 Posts 2 Posters 545 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.
    • K
      kyriakoy
      last edited by

      Hello to all,

      I am trying to setup a rule (open a port) to LAN IP, but I want this rule to apply only to a specific Virtual IP. I have multiple VIPs assigned from my provider and  Firewall: NAT: 1:1 for some of them to Internal LAN. Is there any way to do this ?

      Thanks

      1 Reply Last reply Reply Quote 0
      • KOMK
        KOM
        last edited by

        I'm not sure I understand you.  Yes, you can have a public IP from your ISP as a Virtual IP managed by pfSense, and use NAT to allow a LAN server to receive inbound traffic from your WAN to that virtual IP.  I wouldn't use 1:1 NAT unless you really need that much exposure.  A simple NAT and firewall rule is enough.

        https://doc.pfsense.org/index.php/What_are_Virtual_IP_Addresses

        https://doc.pfsense.org/index.php/How_can_I_forward_ports_with_pfSense

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