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

    [SOLVED] How to get IP from modem (don't know what the problem really is ::) )

    Scheduled Pinned Locked Moved General pfSense Questions
    16 Posts 4 Posters 6.7k 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.
    • F
      frojnd
      last edited by

      Thank you all for answers.

      So I did the following. Cable from modem goes to pfsense wan interface named as rl1. So corresponding with my IP settings I did like this:

      pkg_add -r redir
      

      Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.2-release/Latest/redir.tbz… Done.

      ifconfig rl1 192.168.1.1/24
      
      /usr/local/bin/redir --lport 8989 --cport 80 --caddr 192.168.1.254 &
      

      [1] 8431

      Problem occours when I go to 192.168.1.254 I recieve page doesn't exist.

      1 Reply Last reply Reply Quote 0
      • chpalmerC
        chpalmer
        last edited by

        Are you trying http://192.168.1.254:8989    ??

        I have not done this yet but may try it on one of my setups at the office later. But I believe you need the port number…

        Triggering snowflakes one by one..
        Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

        1 Reply Last reply Reply Quote 0
        • F
          frojnd
          last edited by

          That's exactly how I'm trying, with port numbers at the end. Please do try it when you have an option.

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

            What version of pfsense are you using?

            db

            1 Reply Last reply Reply Quote 0
            • F
              frojnd
              last edited by

              1.2.3-RELEASE

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

                What is your the IP address of pfsense's LAN interface?

                db

                1 Reply Last reply Reply Quote 0
                • F
                  frojnd
                  last edited by

                  LAN	 interface (rl0)
                  Status	 up
                  MAC address	 00:e0:4c:58:3a:be
                  IP address	 192.168.1.1  
                  Subnet mask	 255.255.255.0
                  
                  1 Reply Last reply Reply Quote 0
                  • C
                    clarknova
                    last edited by

                    That's your problem. Your LAN subnet overlaps (is identical to) your modem's subnet. Change the subnet of your modem or your LAN and this will work.

                    Also, you need to connect to your LAN's IP address, not the modem's. So if you change pfsense's LAN IP address to 192.168.0.1/24, you'll then point your browser to http://192.168.0.1:8989 to bring up the modem.

                    db

                    1 Reply Last reply Reply Quote 0
                    • F
                      frojnd
                      last edited by

                      Thank you so much! :)

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

                        You're welcome. I'll try not to sit and wonder for too long what your modem is going to tell you about your voip usage. ;)

                        db

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