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

    PfSense 2.2 - How to setup mode tranparent ?

    Scheduled Pinned Locked Moved Firewalling
    8 Posts 5 Posters 2.3k 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.
    • H
      Harris
      last edited by

      Hi all,

      I have a diagram:

      ISP <=> pfSense 2.2 <=> | server 1: public IP 1 |
                                              | server 2: public IP 2 |
                                              | server 3: public IP 3 |

      How to config pfSense with that diagram ?

      Tks :)

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

        Create 3 virtual IP Aliases (Firewall - Virtual IPs)
        Create 3 port forwards with associated firewall rule (Firewall - NAT - Port Forward)

        1 Reply Last reply Reply Quote 0
        • dotdashD
          dotdash
          last edited by

          I don't think the OP wanted to NAT. There used to be a tutorial for transparent mode. Basically, bridge your interfaces. I usually assign a public IP to the bridge, then change the tunables to filter on the bridge.
          Edit- looks like the tutorials are gone as they were too outdated.
          Check the docs for bridge basics: https://doc.pfsense.org/index.php/Interface_Bridges

          1 Reply Last reply Reply Quote 0
          • H
            Harris
            last edited by

            @dotdash:

            I don't think the OP wanted to NAT. There used to be a tutorial for transparent mode. Basically, bridge your interfaces. I usually assign a public IP to the bridge, then change the tunables to filter on the bridge.
            Edit- looks like the tutorials are gone as they were too outdated.
            Check the docs for bridge basics: https://doc.pfsense.org/index.php/Interface_Bridges

            Hi,

            This is my config, but it not working :(

            net.link.bridge.pfil_bridge = 1
            net.link.bridge.pfil_member = 1

            Tell me if you need any more !

            Tks :)

            bridge.png
            assign.png
            VIP.png
            interface1.png
            interface2.png
            bridge.png_thumb
            assign.png_thumb
            VIP.png_thumb
            interface1.png_thumb
            interface2.png_thumb

            1 Reply Last reply Reply Quote 0
            • dotdashD
              dotdash
              last edited by

              Two things:
              If you want to set rules on the bridge interface set net.link.bridge.pfil_member=0 and net.link.bridge.pfil_bridge=1
              If you put an IP on the bridge, use that to manage. Don't put an IP on the same subnet as the bridge on another interface.
              edit: Oh, that's a VIP. Still, I'd put the public ip for management on the bridge interface. Or use a separate interface with a private ip or something. No need for virtual ips on a filtering bridge.

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

                Get your ISP to assign you a /30 or /29 for your WAN then route the public subnet to the proper IP address on it.  Then just set that subnet on OPT1 and turn off NAT.  That's the way it should be done anyway…  No VIPs, no bridging.

                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
                • chpalmerC
                  chpalmer
                  last edited by

                  Since you have a mgmt port I assume you want it to have a private address…

                  Go to the NAT page and select "Manual Outbound NAT rule generation"

                  Then delete every rule generated except the "Mngmnt" interface.

                  edit- That is if you want your Mngmt port to have internet access… Otherwise just set it up with a private space address and create a rule allowing incoming traffic to its address from the private subnet you create. (no NAT)

                  edit- On second thought it appears that your Management port is set up as your true WAN port??  (based on Interface2.png)

                  Triggering snowflakes one by one..
                  Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                  1 Reply Last reply Reply Quote 0
                  • H
                    Harris
                    last edited by

                    I setup pfSense on VM. Maybe i mistake when config vSwitch. Now I waiting my physical server to config again.

                    Tks :)

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