Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    IPTables Conversion

    Scheduled Pinned Locked Moved Firewalling
    1 Posts 1 Posters 980 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.
    • E Offline
      edinburgh1874
      last edited by

      Hi All,
      I have recently joined a company and have been tasked with coverting their iptables firewall to PFSense.

      I am looking for a bit of help with coverting this over…eth0 and eth1 have the same IP address on our firewall, with different subnet masks.

      eth0 is physically connected directly to a cable modem, whereas eth1 is the interface for the DMZ which has

      INET_IP='x.x.x.1' <------ 255.255.255.255, public IP
      INET_IFACE="eth0"

      DMZ_IP="x.x.x.1"  <----- 255.255.255.0, public IP
      DMZ_IFACE="eth1"

      This rule allows traffic to the internet

      $IPTABLES -A FORWARD -i $DMZ_IFACE -j ACCEPT

      Can I replicate this setup in PFSense? I have tried adding these addresses to WAN and OPT1, but PFSense complains that the address is in use by another interface.

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