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

    Clean Install with pfsense 2.0 using transparent firewall

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    44 Posts 7 Posters 23.6k 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.
    • Cry HavokC
      Cry Havok
      last edited by

      I assume you've already checked the pfSense documentation? I'd expect that the pfSense book covers it, but otherwise I don't know.

      1 Reply Last reply Reply Quote 0
      • W
        wallabybob
        last edited by

        Even if your configuration is correct it is not going to be able to do much that is useful while
        @verylife78:

        Wan card is sis0 and is LINK DONW state.
        . . .
        I tried to connect with the router with normal UTP cable and with an crossover, nothing worked on both cases. (no trafic from pfsense to internet, neither from pc to internet).

        Is your WAN link still down? Maybe the pfSense WAN interface or the corresponding Cisco interface or the cable between them is broken.

        @verylife78:

        It's a public network so nothing can be change.

        The 10.x.x.x addresses are PRIVATE addresses as far as the Internet is concerned. Maybe that makes a difference in respect to what can be changed.

        1 Reply Last reply Reply Quote 0
        • V
          verylife78
          last edited by

          @wallabybob
          You went way back…. with the quote reply
          WAN card is not at DOWN state since I follow the instructions for the transparent firewall
          I said public network, maybe I misused the word "public". I know this address 10.xxx.xxx.xxx are private, but we are using this range in the government (public) buildings
          I have attached the start page in order to understand.
          Now the only cable that is connected is the one at LAN card, but I have followed the instructions in order to setup the transparent firewall.
          Hope I made my self clear and sorry for any language mistakes, my native language is Greek.
          Waiting for an answer.

          pfsense_start_page.jpg
          pfsense_start_page.jpg_thumb

          1 Reply Last reply Reply Quote 0
          • W
            wallabybob
            last edited by

            @verylife78:

            I said public network, maybe I misused the word "public". I know this address 10.xxx.xxx.xxx are private, but we are using this range in the government (public) buildings

            It is important to get public/private distinction clear when it comes to deciding how to set the per-interface settings of Block private networks (e.g. Interfaces -> LAN, scroll down to private networks). I presume you have it unchecked. But can you explain why the firewall is blocking the LAN traffic shown in the screen capture of the previous reply?

            @verylife78:

            Hope I made my self clear and sorry for any language mistakes, my native language is Greek.

            Your english is way better than my Greek  :)

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              I assume it was this guide that you followed?
              http://pfsense.trendchiller.com/transparent_firewall.pdf

              Looking at your screen grab I see that your firewall is blocking traffic on LAN all of which is coming from a different subnet. If you have only the default LAN allow rule you will have to edit it or add more rules to allow traffic from a different subnet.

              What is working at the moment?

              Steve

              1 Reply Last reply Reply Quote 0
              • V
                verylife78
                last edited by

                at the moment because we are depending 100% from the web I can't do any tests
                But last night (now it's morning time) when I plugin the pfsense box, NOTHING pass through, all the internet activity was blocked. But from my pc when I ping the router(gateway) at 10.169.92.1 it reply back, but when I enter a url address at the browser, the page is not loading. Also the network icon (Win7) it has a yellow triangle, no internet connection.
                Probably some firewall rules block everything.
                First I need to allow everything in order to work, and then I could start blocking.
                When I check at the logs everything is blocked.
                The action that triggered the block action is
                1. @1 scrub in on xl0 all fragment reassemble
                2. @1 block drop in log all label "Default deny rule"
                Which is the default deny rule that applies always?
                I am attaching 2 images from the rules at WAN and LAN card. One I added my self from the logs

                pfsense_lan.jpg
                pfsense_lan.jpg_thumb
                pfsense_wan.jpg
                pfsense_wan.jpg_thumb

                1 Reply Last reply Reply Quote 0
                • Cry HavokC
                  Cry Havok
                  last edited by

                  Please try disabling the 2 blocking rules.

                  1 Reply Last reply Reply Quote 0
                  • W
                    wallabybob
                    last edited by

                    @Cry:

                    Please try disabling the 2 blocking rules.

                    Do those blocking rules come from enabling Block private networks on the corresponding interface?

                    1 Reply Last reply Reply Quote 0
                    • V
                      verylife78
                      last edited by

                      @CryHavok which 2 blocking do I have to disable?
                      @wallabybob block private networks is Disable on both LAN and WAN interfaces, because my network is 10.xxx.xxx.xxx, but block bogon networks is Enable.
                      thanks for the help people. My organization, if the firewall works, will not spend 8.500 euro for a firewall appliance.

                      1 Reply Last reply Reply Quote 0
                      • Cry HavokC
                        Cry Havok
                        last edited by

                        You only have 2 blocking rules - the ones with the red boxes next to them.

                        1 Reply Last reply Reply Quote 0
                        • M
                          Metu69salemi
                          last edited by

                          If you're having bogon network both sides, isn't that against block bogon rules like Cry Havok is trying to say. ???

                          1 Reply Last reply Reply Quote 0
                          • W
                            wallabybob
                            last edited by

                            Recently I read news that all IPv4 addresses had been allocated to regional NICs. That would seem to mean that there are no bogon networks. This suggests that "block bogon networks" might be in untested territory. (I'm not familiar with the internals of the firewall. In a firewall rule "empty set" might have the same representation as "don't care" which, in the displayed rules, would end up blocking everything.)

                            I suggest you also disable the Block bogon networks and see what happens to your firewall rules, traffic and firewall logs. You will probably also need to reset the firewall states to make sure the rule changes take effect.

                            1 Reply Last reply Reply Quote 0
                            • Cry HavokC
                              Cry Havok
                              last edited by

                              The (as tracked by Team Cymru) bogon list still contains a number of IP ranges, so it isn't empty:

                              0.0.0.0 255.0.0.0
                              10.0.0.0 255.0.0.0
                              127.0.0.0 255.0.0.0
                              169.254.0.0 255.255.0.0
                              172.16.0.0 255.240.0.0
                              192.0.0.0 255.255.255.0
                              192.0.2.0 255.255.255.0
                              192.168.0.0 255.255.0.0
                              198.18.0.0 255.254.0.0
                              198.51.100.0 255.255.255.0
                              203.0.113.0 255.255.255.0
                              224.0.0.0 224.0.0.0

                              1 Reply Last reply Reply Quote 0
                              • W
                                wallabybob
                                last edited by

                                Interesting. Seems bogon is not well defined. Wikipedia says (in http://en.wikipedia.org/wiki/Bogon_filtering) Bogons are not the same as reserved private address ranges, such as 10.x.x.x and 192.168.x.x, which are reserved for private networks.[1]).

                                How does pfSense define bogons?

                                1 Reply Last reply Reply Quote 0
                                • V
                                  verylife78
                                  last edited by

                                  I disable all the bogon options and decided to do a reboot.  :P
                                  The system rebooted I see the logon screen but I can't connect to pfsense machine, neither from the pfsense machine I can ping the router or any other ip on my network.
                                  Any ideas??

                                  ps I did all the obvious checks, for cable, if the port is ok, if the switch port is ok, if the switch is ok, the lan card has both lights amber is on and green is flashing.

                                  1 Reply Last reply Reply Quote 0
                                  • W
                                    wallabybob
                                    last edited by

                                    Have you acted on this observation:
                                    @stephenw10:

                                    Looking at your screen grab I see that your firewall is blocking traffic on LAN all of which is coming from a different subnet. If you have only the default LAN allow rule you will have to edit it or add more rules to allow traffic from a different subnet.

                                    Start with the simplest configuration: can you connect to the web GUI from a machine on the same subnet as your LAN interface? If not, how are you trying to connect? (ssh?, http? ping? etc) What response do you get? (timeout? no route to host? etc) Can you connect (by ssh, ping, telnet etc) from the pfSense console to a machine on the same subnet as your LAN interface?

                                    Does it make a difference if you specify the target of the connect attempt by IP address rather than name (or name rather than IP address)?

                                    In short, a bit more information about what you trying to do and where you are trying to do it would help those attempting to help you solve the problem. The information about cables and NIC lights was useful.

                                    1 Reply Last reply Reply Quote 0
                                    • V
                                      verylife78
                                      last edited by

                                      The problem is when I define a static IP at the WAN interface, when I reboot I can't access the web GUI, neither with ssh. From the machine I can't ping anything.
                                      BUT when I change the static WAN IP to dynamic everything is OK
                                      Still I haven't moved the machine to it's place so is not connected with the router

                                      1 Reply Last reply Reply Quote 0
                                      • Cry HavokC
                                        Cry Havok
                                        last edited by

                                        If this is a transparent firewall, why are you assigning IP addresses to the LAN and WAN interfaces? A transparent firewall doesn't have IP addresses on it's LAN or WAN.

                                        1 Reply Last reply Reply Quote 0
                                        • V
                                          verylife78
                                          last edited by

                                          @Cry:

                                          If this is a transparent firewall, why are you assigning IP addresses to the LAN and WAN interfaces? A transparent firewall doesn't have IP addresses on it's LAN or WAN.

                                          Yes this is going to work as a transparent  firewall…
                                          Do you mean that I don't have to set up an IP on LAN neither WAN? and I am going to access the web gui?

                                          1 Reply Last reply Reply Quote 0
                                          • Cry HavokC
                                            Cry Havok
                                            last edited by

                                            Traditionally through a third interface.

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