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

    Access broadband modem from lan

    Scheduled Pinned Locked Moved General pfSense Questions
    11 Posts 9 Posters 15.5k 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.
    • W
      webstar
      last edited by

      How can I access my DSL modems telnet interface from the LAN side of the network.

      PfSense is doing all the PPPoE so the modem is just running as a bridge.

      LAN runs on 192.168.1.X  and modem has 10.0.0.138 and 192.168.1.254 assigned to it by default. I tried just 192.168.1.254 but it doesn't work.

      1 Reply Last reply Reply Quote 0
      • S
        Slam
        last edited by

        Try accessing it thru 10.0.0.138 address

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

          Tried with no go. Do I need to create rules?

          1 Reply Last reply Reply Quote 0
          • GruensFroeschliG
            GruensFroeschli
            last edited by

            i suppose your wan ip of the pf is a public ip (since your modem only bridges).
            i think you need to add something that relay's the packets addressed to your modem actually to your modem and not to the gateway of your ISP.

            i would have to play around but i think about a static route and AON.

            We do what we must, because we can.

            Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

            1 Reply Last reply Reply Quote 0
            • R
              redpanther
              last edited by

              If it is anything like my SpeedStream 4100 DSL modem I don't think you will be able to access it. The modem must be doing the PPPoE to access the modem settings. Bridgemode = dumb modem

              Acer Aspire One Netbook
              Atom 1.6 GHZ
              1GB ram
              Lan RE0 Onboard Realtek
              Wan UE0 Trendnet TU2-ET100 USB-LAN

              1 Reply Last reply Reply Quote 0
              • R
                rsw686
                last edited by

                Make sure block private networks is unchecked on the interfaces -> wan page.

                1 Reply Last reply Reply Quote 0
                • J
                  Jonb
                  last edited by

                  The way I have done this in the past in just plug the modem/router into the lan as well. You can do this ither by setting up a vlan on a switch or if the router has a switch plug it in there.  I have done this with a vigor 2800 from Draytek.

                  Hosted desktops and servers with support without complication.
                  www.blueskysystems.co.uk

                  1 Reply Last reply Reply Quote 0
                  • jahonixJ
                    jahonix
                    last edited by

                    Search the forum!

                    Hoba wrote about this some time ago. There are 3rd party tools that can monitor/display line quality etc.
                    That's originally a Linux software that was ported to windows but I cannot remember the name…

                    1 Reply Last reply Reply Quote 0
                    • jahonixJ
                      jahonix
                      last edited by

                      OK, found the thread.
                      Here's what HOBA wrote:

                      @hoba:

                      With Databeestje's help we found a solution:

                      SSH to pfSense and input the following:

                      
                      pkg_add -r redir
                      ifconfig fxp0 192.168.0.2/24
                      redir --lport 8989 --cport 80 --caddr 192.168.0.1 &
                      
                      

                      In this example 'fxp0' is the real WAN interface (on which pfSense runs PPPoE).
                      In the example it gets an IP address (192.168.0.2/24) from the modem's subnet (192.168.0.1/24) assigned and
                      redir puts a Proxy on port 8989 of the pfSense and forwards it to the modem on port 80
                      You can access the modem by connecting to any of the pfSense's addresses (e.g. LAN) on port 8989 and get redirected to the modem's WEBGUI.

                      To access your modem with Telnet simply change the destination port (–cport) to 23 (or 22 for SSH).
                      In your case you better use the 10.x.y.z network.

                      just a quick'n dirty translation from German...

                      1 Reply Last reply Reply Quote 0
                      • M
                        Master One
                        last edited by

                        Well, looks like this is what I was looking for. Is this still the best way to access a DSL modem's webinterface through pfSense (since this wiki page for m0nowall describes a different procedure, but it was mentioned in another thread, that this way is not working on pfSense)?

                        If this is still the recommended way to go, how to make this addition permanent (so that it's established on boot)?

                        1 Reply Last reply Reply Quote 0
                        • H
                          hoba
                          last edited by

                          You can add the last 2 lines manually to your config.xml as hidden shellcommands. Search the forum, there are some examples on how to use hidden config.xml options.

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