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

firewall without NAT

Scheduled Pinned Locked Moved General pfSense Questions
40 Posts 7 Posters 4.4k 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.
  • V
    viragomann @olivier demoustier
    last edited by May 22, 2021, 6:20 PM

    @olivier-demoustier
    Does all communication devices have fix IPs or do they use UPnP to connect to the other?

    O 1 Reply Last reply May 22, 2021, 6:21 PM Reply Quote 0
    • O
      olivier demoustier @viragomann
      last edited by May 22, 2021, 6:21 PM

      @viragomann
      All fixed IP's

      V 1 Reply Last reply May 22, 2021, 6:31 PM Reply Quote 0
      • V
        viragomann @olivier demoustier
        last edited by May 22, 2021, 6:31 PM

        @olivier-demoustier
        I can imagine that you get an asymmetric routing in this setup. If that's the case, it possibly helps to enable sloppy state handling.
        You can do this in the firewall rules in the advanced options.

        O 1 Reply Last reply May 22, 2021, 6:38 PM Reply Quote 0
        • O
          olivier demoustier @viragomann
          last edited by May 22, 2021, 6:38 PM

          @viragomann
          For the moment, I don't get any UDP packet true the firewall.

          1 Reply Last reply Reply Quote 0
          • S
            stephenw10 Netgate Administrator
            last edited by May 22, 2021, 11:46 PM

            pfSense will route between the WAN and LAN interfaces. Traffic coming into the LAN will be routed out to the WAN as long as firewall rules pass it and a route exists. That could be the default route or between the WAN and LAN subnets directly.

            However, you're taking about broadcast traffic that will not be routed. That is always inside one subnet.

            What subnets do you have on WAN and LAN?

            What IPs are you testing between?

            It sounds a lot like you might actually want a bridge here with both interfaces in the same subnet.

            Steve

            O 1 Reply Last reply May 23, 2021, 8:10 AM Reply Quote 0
            • S
              SundarNET 0 @olivier demoustier
              last edited by SundarNET 0 May 23, 2021, 12:01 AM May 22, 2021, 11:59 PM

              @olivier-demoustier if you are trying to isolate traffic by having 2 nics in the lightbox then you need to isolate those IP addresses and use direct IP address rules in your firewall but possibly going to need to use NAT redirects for that
              I say this assuming you are trying to isolate one ports traffic through one NIC and the other via the second to stop overloads?

              O 1 Reply Last reply May 23, 2021, 8:08 AM Reply Quote 0
              • A
                AKEGEC
                last edited by May 23, 2021, 3:13 AM

                Some people are still believing that NAT is evil. Just because some people don't like entering their home through a door instead a wide gate. By default a door denies all inbound.

                1 Reply Last reply Reply Quote 0
                • N
                  NOCling
                  last edited by May 23, 2021, 5:16 AM

                  If it is broadcast, use only a managed switch with different VLANs, then you got 2 broadcast domains and no interaction betwen this.

                  One VLAN is used for WiFi and the other dont flod the WiFi anymore. You want now to route betwen this VLANs, you neet different IP Subnets and then you can use an Firewall between.

                  Netgate 6100 & Netgate 2100

                  O 2 Replies Last reply May 23, 2021, 8:16 AM Reply Quote 0
                  • O
                    olivier demoustier @SundarNET 0
                    last edited by May 23, 2021, 8:08 AM

                    @sundarnet-0
                    Hi SundarNet, The lighting console has only 1 nic. So all this broadcast ( on port 6454 and 9000) passes in/out 1 nic on that end. This meaning , only 1 IP adress.

                    S 1 Reply Last reply May 23, 2021, 10:45 PM Reply Quote 0
                    • O
                      olivier demoustier @stephenw10
                      last edited by May 23, 2021, 8:10 AM

                      @stephenw10 IP range is 2.x.x.x subnet 255.0.0.0

                      1 Reply Last reply Reply Quote 0
                      • O
                        olivier demoustier @NOCling
                        last edited by May 23, 2021, 8:16 AM

                        @nocling
                        I do not think a VLAN will solve this. But I'm more than happy to learn how you would solve this with a VLAN. Can a VLAN read a packet and look if it comes from port 6454 and if so ignore this packet?

                        1 Reply Last reply Reply Quote 0
                        • O
                          olivier demoustier @NOCling
                          last edited by May 23, 2021, 8:18 AM

                          @nocling
                          Sorry, everything needs to be in the same subnet. (2.x.x.x. /8)
                          We cannot change this.

                          V 1 Reply Last reply May 23, 2021, 8:27 AM Reply Quote 0
                          • O
                            olivier demoustier
                            last edited by May 23, 2021, 8:25 AM

                            If I bridge WAN-LAN, all traffic passes, so the hardware is working. But whatever FIREWALL-rule I add, all traffic keeps on passing. I have set "net.link.bridge.pfil_bridge" to 1 and "net.link.bridge.pfil_member" to 1
                            Was hoping this would solve it... but :( no luck

                            1 Reply Last reply Reply Quote 0
                            • V
                              viragomann @olivier demoustier
                              last edited by May 23, 2021, 8:27 AM

                              @olivier-demoustier said in firewall without NAT:

                              @nocling
                              Sorry, everything needs to be in the same subnet. (2.x.x.x. /8)
                              We cannot change this.

                              If both interfaces of pfSense have to be within a single subnet you have to bridge them, as @stephenw10 already mentioned.
                              Doing this enables also broadcasts between the devices. Maybe this is what you need.

                              O 1 Reply Last reply May 23, 2021, 8:29 AM Reply Quote 0
                              • O
                                olivier demoustier @viragomann
                                last edited by May 23, 2021, 8:29 AM

                                @viragomann

                                Thank you, I tried this, (look at my recent post) but then it just works as a 2port switch. FIREWALL-rules are not working

                                1 Reply Last reply Reply Quote 0
                                • V
                                  viragomann
                                  last edited by May 23, 2021, 8:40 AM

                                  @olivier-demoustier said in firewall without NAT:

                                  But whatever FIREWALL-rule I add, all traffic keeps on passing. I have set "net.link.bridge.pfil_bridge" to 1 and "net.link.bridge.pfil_member" to 1
                                  Was hoping this would solve it... but :( no luck

                                  It should work with these settings. Maybe you have zo kill existing states before testing.

                                  1 Reply Last reply Reply Quote 0
                                  • O
                                    olivier demoustier
                                    last edited by May 23, 2021, 8:59 AM

                                    At last, I found it. Don't know why, but in bridge mode you need to reboot the firewall after you change a rule.
                                    Will test further. But for the moment I have 1 rule to enable or disable all traffic. If You change this rule, you need to reboot.
                                    To everybody, thank you so much for all the help.

                                    A 1 Reply Last reply May 23, 2021, 9:40 AM Reply Quote 0
                                    • A
                                      AKEGEC @olivier demoustier
                                      last edited by May 23, 2021, 9:40 AM

                                      @olivier-demoustier said in firewall without NAT:

                                      At last, I found it. Don't know why, but in bridge mode you need to reboot the firewall after you change a rule.
                                      Will test further. But for the moment I have 1 rule to enable or disable all traffic. If You change this rule, you need to reboot.
                                      To everybody, thank you so much for all the help.

                                      Happy for you. Don't forget to enable the auto start for all vlan bridges.

                                      O 1 Reply Last reply May 23, 2021, 9:44 AM Reply Quote 0
                                      • O
                                        olivier demoustier @AKEGEC
                                        last edited by May 23, 2021, 9:44 AM

                                        @akegec
                                        mmm, don't know what you are saying. I don't use any VLANs. Or is a bridge some kind of VLAN?

                                        A 1 Reply Last reply May 24, 2021, 1:38 AM Reply Quote 0
                                        • S
                                          stephenw10 Netgate Administrator
                                          last edited by May 23, 2021, 10:55 AM

                                          You need to set the filtering sysctls before you create the bridge. So if you change them afterwards you need to re-create the bridge. A reboot does that.

                                          Steve

                                          O 2 Replies Last reply May 23, 2021, 11:57 AM Reply Quote 1
                                          20 out of 40
                                          • First post
                                            20/40
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received