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

    How to build a DMZ interface on pfsense with hosts with public IPs assigned

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

      Hi, I searched this community and the web for my question but I'm not sure if I have found the right solution for what I want to achive.

      Given is a pfsense with multiple WAN connections to it and multiple LANs.
      To one of the WAN connections the provider has assigned 2 /29 subnets of public IP adresses. These are configured as virtual IPs within pfsense.
      These are currently used for DMZ services with 1:1 NAT.
      This is functioning without any issues.

      Now there need to be 2 services established where the servers need to be placed in the DMZ BUT CANNOT be configured with NAT. This means I need to configure the actual NICs on public IP.
      Anyway I would of course like to restrict access to these servers via pfsense (ports/source IPs, etc)

      So my question is:
      How can I create a DMZ within pfsense where I can use the public IPs (configured as virtual IPs) for the hosts.

      Looking forward for any help, thanks!

      1 Reply Last reply Reply Quote 0
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by

        Have your ISP route a subnet to one of your WAN addresses.

        You can then assign that subnet to the DMZ interface and firewall on WAN as desired.

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

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