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

    Apingar service and ADSL

    Scheduled Pinned Locked Moved General pfSense Questions
    14 Posts 3 Posters 1.8k 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.
    • M
      mohdsh85
      last edited by

      Hello Guys ..

      am working on pfsense for more than 2 years ….

      but now am stuck and confused ....

      my connection using ADSL .... and every thing is fine ...

      the ISP is up and the connection is working if i test it on my laptop , and if i replace a pfsense with studied router every thing will work .....

      then i return the pfsense and the  apingar service is not started (connection is pending and pending)

      what can i do to solve this...

      please helppppppp

      if my question  not clear please send me

      1 Reply Last reply Reply Quote 0
      • P
        phil.davis
        last edited by

        Tell us about your setup. Things like:

        • IP subnet between ADSL device and pfSense WAN (IP of both devices)
        • LAN subnet
        • Default gateway on pfSense WAN
        • Monitor IP for apinger

        As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
        If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

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

          hello phil.davis

          ADSL IP is : 92.253.123.137 , LAN IP  192.168.123.x

          default gateway should be 192.168.1.240

          monitor IP apinger is : 194.165.130.240 ( its added automatically from the pfsense )

          1 Reply Last reply Reply Quote 0
          • P
            phil.davis
            last edited by

            That does not make sense to me.
            92.253.123.137 - public IP given by your ISP to your ADSL router - good.
            192.168.123.0/24 - LAN subnet of your ADSL device, but what is the actual IP address of the ADSL LAN.
            192.168.1.240 - that is not in the ADSL device LAN subnet above, so which of these is correct?
            194.165.130.240 - where did that come from? how is pfSense getting it "automatically"?

            To work with your laptop, I guessed that your ADSL device is in its "normal" mode providing a private LAN subnet on its LAN side. If that is so, then pfSense WAN just sits on that ADSL device LAN. pfSense WAN should be set to DHCP and it will get a private IP address in ADSL device LAN.

            But maybe you have setup pfSense WAN as PPPoE to try and login to your ISP?
            In that case, you have to put your ADSL device into bridge mode.

            Give more information about what settings you have made on each device.

            As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
            If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

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

              Hello ,

              thanks for your response

              1- ADSL  i have no settings on the ADSL its just an dynamic IP from ISP .

              2- my LAN is 192.168.123.50 to  192.168.123.250

              3- and the gateway for LAN is 192.168.123.1

              4- my DNS servers saved on my settings is 8.8.8.8 , 8.8.4.4 but now i have the following DNS servers

              194.165.130.38

              194.165.130.4

              from where these DNS servers coming i don't know

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

                yes my ADSl mode is PPPoE

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

                  @mohdsh85:

                  3- and the gateway for LAN is 192.168.123.1

                  Is that the gateway for device on the LAN network (the LAN interface IP) or a gateway you set on the pfSense LAN interface (which would be bad)?

                  Steve

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

                    this is my lan interface

                    lanInterface.png
                    lanInterface.png_thumb

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

                      and this is my ADSl interface

                      ADSLIntefrace.png
                      ADSLIntefrace.png_thumb

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

                        Could be simply that the ISP gateway doesn't respond to pings. Go to System: Routing: Gateways: Edit the default WAN gateway, advanced options, change the monitor IP to something public like 8.8.8.8.

                        When you said you tested it with a laptop was that using a PPPoE connection from the laptop?

                        Steve

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

                          Thanks Steve ..

                          yes it's worked on my laptop using the PPPoE connection ,

                          and i replaced the pfsense firewall with Tplink router to generate IP's and it's work …

                          u mean i need to put the monitor IP as DNS server?

                          it's something strange , if the ISP down how it's working throw the Router or direct to laptop??

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

                            pfSense monitors the status of the WAN connection by pinging an IP at the remote end. By default it uses the WAN gateway IP but if that machine doesn't respond to pings pfSense will see the connection as down/pending. In that case you need to set an alternative monitor IP, it can be any remote machine that responds to pings. The closer to you the better for gathering line stats which is why the gateway is normally used. Both the laptop and the router do not do this so there is no problem.

                            Steve

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

                              Steve ,

                              i left yesterday and everything is great , but when i came this morning i found the gateway online but major sites not working

                              as google.com, hotmail.com, speedtest.net and another major website is working as gmail.com…

                              fighting with my ISP provider and no result they said every thing is fine ....

                              shutting down my pfsense for several minutes

                              then starting my pfsense again and every thins is working and now every thing is great ,,,,,

                              could my ISP doing updates or shutting down services at night and something hang in pfsense ???

                              am just  :(

                              by the way i change my monitors  IP to one of my static IP's

                              thanks .....

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

                                @mohdsh85:

                                by the way i change my monitors  IP to one of my static IP's

                                One of your own IPs? Where is this IP, at some data center? It must be at the other end of the ISP WAN connection.

                                Are you running Snort? Or any other packages?

                                Were any sites still accessible when you came in?

                                Steve

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