• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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.
  • C
    CurlyBrackets
    last edited by May 8, 2010, 5:39 PM

    So i just got into the idea of using pfsense for a router/firewall due to my consumer grade router that been in use
    for a few years faltering under 13 computers all connected at once.
    So i built a box using some salvage components:
    Athlon 64 3000+ @ 2.0gHz
    Asus A8V motherboard
    ATi 9550 GPU
    2 x Intel PRO/1000 GT NIC's (one for WAN, one for LAN)
    2gB Kingston DataTravler

    Everything installed fine and i was able to access the internet using my laptop (directly connected to LAN).
    But as i had lots of homework to do this week (in grade 10 :) i had to leave the rest of the configuration til
    today (changing old router to just be a switch, forwarding the wall of ports to my server, etc.)

    When i attempt to connect today from my laptop, no connection to the laptop, i can ping stuff from the webGUI
    so that means that the WAN is connected but now the lan won't connect to the internet.

    My configs are below:

    Rules:
    LAN:
    Default one, allow anything from LAN subnet to go anywhere

    WAN:
    Proto    Source    Port    Destination    Port    Gateway
    ICMP      *          *      WAN address  *      *
    TCP/UDP  *          *        *                  *      *

    NAT:
    Outbound set to manual and using the default rule created for that

    DHCP:
    LAN:
    Range: 192.168.1.100-192.168.1.149 (LAN subnet is 192.168.1.0/24)
    Gateway: 174.0.76.1 (IP given to WAN interface from ISP)

    Any ideas on why my laptop will no longer connect to the internet?

    ~{}

    1 Reply Last reply Reply Quote 0
    • E
      Eugene
      last edited by May 8, 2010, 7:58 PM

      Try removing gateway from your dhcp settings.

      http://ru.doc.pfsense.org

      1 Reply Last reply Reply Quote 0
      • C
        CurlyBrackets
        last edited by May 8, 2010, 8:16 PM

        Just tried that, now when i ping using my laptop it says the destination is unreachable instead of request has timed out…

        1 Reply Last reply Reply Quote 0
        • E
          Eugene
          last edited by May 8, 2010, 8:29 PM

          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 May 8, 2010, 9:54 PM

            There you go :D

            1 Reply Last reply Reply Quote 0
            • E
              Eugene
              last edited by May 8, 2010, 10:06 PM

              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 May 8, 2010, 10:34 PM May 8, 2010, 10:20 PM

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

                1 Reply Last reply Reply Quote 0
                • E
                  Eugene
                  last edited by May 8, 2010, 10:33 PM

                  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 May 8, 2010, 10:35 PM

                    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 May 8, 2010, 10:58 PM

                      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 May 8, 2010, 11:27 PM

                        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 May 8, 2010, 11:55 PM

                          @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 May 9, 2010, 12:00 AM May 8, 2010, 11:59 PM

                            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 May 9, 2010, 12:00 AM

                              pfctl -sr | grep em0
                              pfctl -sn
                              

                              http://ru.doc.pfsense.org

                              1 Reply Last reply Reply Quote 0
                              • C
                                CurlyBrackets
                                last edited by May 9, 2010, 12:10 AM

                                $ 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 May 9, 2010, 12:16 AM

                                  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 May 9, 2010, 5:25 AM

                                    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 May 9, 2010, 7:32 AM

                                      @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
                                      18 out of 18
                                      • First post
                                        18/18
                                        Last post
                                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                        This community forum collects and processes your personal information.
                                        consent.not_received