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

    It was working?

    Scheduled Pinned Locked Moved General pfSense Questions
    18 Posts 3 Posters 4.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.
    • E
      Eugene
      last edited by

      please show ipconfig /all from your laptop (I suppose it is MS Windows) and ifconfig from your pfSense

      http://ru.doc.pfsense.org

      1 Reply Last reply Reply Quote 0
      • C
        CurlyBrackets
        last edited by

        There you go :D

        1 Reply Last reply Reply Quote 0
        • E
          Eugene
          last edited by

          Don't you have statically configured default gateway on your laptop?
          0.0.0.0 might be messing up everything for you.

          http://ru.doc.pfsense.org

          1 Reply Last reply Reply Quote 0
          • C
            CurlyBrackets
            last edited by

            Yay for the stupid laptop… now everything seems to be working...

            1 Reply Last reply Reply Quote 0
            • E
              Eugene
              last edited by

              Congratulations. Don't forget to remove 'allow all' rule from WAN interface. You want it to be The Firewall after all. -)

              http://ru.doc.pfsense.org

              1 Reply Last reply Reply Quote 0
              • C
                CurlyBrackets
                last edited by

                Spoke too soon…
                Now the issue seems to be that when i connect the pfsense box to my old router (need it to use as a switch for now and to emit wireless)nothing but the laptop can connect to the internet. I have disabled the DHCP server on the old router as well as the firewall and have the LAN interface of the pfsense box plugged into one of the LAN interfaces of the old router. When i run ipconfig /all on my desktop it reports the pfsense box as being the default gateway and assigning it an address but when i ping 74.125.53.104 (google.ca) i get the old routers ip address saying that the "destination net unreachable".

                1 Reply Last reply Reply Quote 0
                • E
                  Eugene
                  last edited by

                  Try

                  ipconfig /release
                  ipconfig /renew
                  

                  on your desktop

                  http://ru.doc.pfsense.org

                  1 Reply Last reply Reply Quote 0
                  • C
                    CurlyBrackets
                    last edited by

                    Did that, it could ping stuff but not access any webpages… same goes for all the other computers on the network (i got excited wayyy too fast). Strange thing is i can still play TF2 without any issues, and a far stabler ping (used to flux from 50-70 normally but sometimes up to 900) and now it sits in the low 50's without issues...

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

                      @CurlyBrackets:

                      Did that, it could ping stuff but not access any webpages

                      It would be helpful to have more information about the access failure.

                      Can you access the pfSense web GUI? If not, what URL did you try and what was reported by the browser?

                      Can you access www.google.com? If not, what URL did you try and what was reported by the browser?

                      1 Reply Last reply Reply Quote 0
                      • C
                        CurlyBrackets
                        last edited by

                        i can access the webGUI but not access google.com, opera reports that no apge is found and IE reports an incorrect URL. But if i ping it i get 4 successful responses back

                        1 Reply Last reply Reply Quote 0
                        • E
                          Eugene
                          last edited by

                          pfctl -sr | grep em0
                          pfctl -sn
                          

                          http://ru.doc.pfsense.org

                          1 Reply Last reply Reply Quote 0
                          • C
                            CurlyBrackets
                            last edited by

                            $ pfctl -sr | grep em0

                            pass in quick on em0 inet proto udp from any port = bootpc to 255.255.255.255 port = bootps keep state label "allow access to DHCP server on LAN"

                            pass in quick on em0 inet proto udp from any port = bootpc to 192.168.1.4 port = bootps keep state label "allow access to DHCP server on LAN"

                            pass out quick on em0 inet proto udp from 192.168.1.4 port = bootps to any port = bootpc keep state label "allow access to DHCP server on LAN"

                            block drop in on ! em0 inet from 192.168.1.0/24 to any

                            block drop in on em0 inet6 from fe80::21b:21ff:fe08:7a7a to any

                            pass out quick on em0 proto icmp all keep state label "let out anything from firewall host itself"

                            pass out quick on em0 all flags S/SA keep state label "let out anything from firewall host itself"

                            pass in quick on em0 inet from any to 192.168.1.4 flags S/SA keep state label "anti-lockout web rule"

                            pass in quick on em0 inet from 192.168.1.0/24 to any flags S/SA keep state label "USER_RULE: Default LAN -> any"

                            pass in quick on em0 inet proto tcp from any to 127.0.0.1 port = ftp-proxy flags S/SA keep state label "FTP PROXY: Allow traffic to localhost"

                            pass in quick on em0 inet proto tcp from any to 127.0.0.1 port = ftp flags S/SA keep state label "FTP PROXY: Allow traffic to localhost"

                            $ pfctl -sn

                            nat-anchor "pftpx/*" all

                            nat-anchor "natearly/*" all

                            nat-anchor "natrules/*" all

                            nat on em1 inet from 192.168.1.0/24 to any -> (em1) port 1024:65535 round-robin

                            rdr-anchor "pftpx/*" all

                            rdr-anchor "slb" all

                            no rdr on em0 proto tcp from any to <vpns>port = ftp

                            rdr on em0 inet proto tcp from any to any port = ftp -> 127.0.0.1 port 8021

                            rdr-anchor "imspector" all

                            rdr-anchor "miniupnpd" all</vpns>

                            1 Reply Last reply Reply Quote 0
                            • E
                              Eugene
                              last edited by

                              well.. at this point the only thing I can think of is DNS.
                              What is the IP of DNS server your desktop gets? I suppose LAN interface of your pfSense?
                              If this is the case make sure your pfSense's DNS is correctly configured - go to System->Packages. If DNS is misconfigured you will not see a list of available packages.

                              http://ru.doc.pfsense.org

                              1 Reply Last reply Reply Quote 0
                              • C
                                CurlyBrackets
                                last edited by

                                Alright, everything is working now… time to forward ports and get my new IP out to my clients. Thank you for all your great help and for being patient with a total noob.

                                ~{}

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

                                  @CurlyBrackets:

                                  Alright, everything is working now.

                                  Just for the record, what did you change to make it work?

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