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

    Internet on pfsense, no internet on LAN clients

    Scheduled Pinned Locked Moved General pfSense Questions
    13 Posts 4 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.
    • KOMK Offline
      KOM
      last edited by

      Your pfSense WAN has no defined gateway?  How does it get Internet then?  Is there some other interface you're not showing?

      1 Reply Last reply Reply Quote 0
      • T Offline
        telvenes
        last edited by

        WAN Interface

        Got internet by these commands:
        route add -net x.x.27.254/32 -iface em0
        route add default x.x.27.254

        7.JPG
        7.JPG_thumb

        1 Reply Last reply Reply Quote 0
        • T Offline
          telvenes
          last edited by

          Addred gateway i WAN interface, the route add lines. now its working. :P

          1 Reply Last reply Reply Quote 0
          • T Offline
            telvenes
            last edited by

            I am leasing some servers at OVH, and to get internet working i have to run these lines after every boot to get internet working.
            route add -net x.x.27.254/32 -iface em0
            route add default x.x.27.254

            So after reboot internet is not working. how can i do this automatic the best way? is this something that can be done in routing in pfsense?

            1 Reply Last reply Reply Quote 0
            • H Offline
              heper
              last edited by

              you need to add a gateway

              1 Reply Last reply Reply Quote 0
              • T Offline
                telvenes
                last edited by

                gateway on wan has been added to :x.x.27.254

                but these line has to go also before internet can be accessed
                route add -net x.x.27.254/32 -iface em0
                route add default x.x.27.254

                1 Reply Last reply Reply Quote 0
                • H Offline
                  heper
                  last edited by

                  then you are doing something wrong, those commands manually add a gateway - they shouldn't be needed

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

                    Do this for WAN to set the default gateway on WAN…

                    ![Screen Shot 2016-10-23 at 8.17.18 AM.png](/public/imported_attachments/1/Screen Shot 2016-10-23 at 8.17.18 AM.png)
                    ![Screen Shot 2016-10-23 at 8.17.18 AM.png_thumb](/public/imported_attachments/1/Screen Shot 2016-10-23 at 8.17.18 AM.png_thumb)

                    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
                    • T Offline
                      telvenes
                      last edited by

                      Se my screenshot, this is in my wan interface.

                      10.JPG
                      10.JPG_thumb

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        telvenes
                        last edited by

                        and this is the OVH ip guide:

                        http://guide.ovh.com/BridgeClient

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          telvenes
                          last edited by

                          If others wonder how i fixed it?
                          This is how: http://www.ryanbelanger.com/pfsense-on-ovh-vm/

                          And if there is a bether way please tell me.

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            telvenes
                            last edited by

                            Under Routing -> Gateways -> Advanced i checked : Use non-local gateway Use non-local gateway through interface specific route.

                            That fixed all my problems. Case Closed

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