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

    Accessing modem from inside firewall

    Scheduled Pinned Locked Moved NAT
    61 Posts 8 Posters 14.3k 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.
    • DerelictD
      Derelict LAYER 8 Netgate
      last edited by

      Does your PPPoE work if you get rid of all the modem access junk? Is there anything interesting in the PPP logs? Are you sure the modem is in bridge mode?

      After you get PPPoE working again and you go back to trying to access the modem, are you sure it's 10.0.0.0/8 and not 10.0.0.0/24?

      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
      • B
        balubeto
        last edited by

        @Derelict:

        Does your PPPoE work if you get rid of all the modem access junk? Is there anything interesting in the PPP logs? Are you sure the modem is in bridge mode?

        After you get PPPoE working again and you go back to trying to access the modem, are you sure it's 10.0.0.0/8 and not 10.0.0.0/24?

        Why should I put 10.0.0.0/24?

        Thanks

        Bye

        balubeto

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

          Because that's the netmask the cable modem is configured for? I asked if you were sure. I didn't say you should change it.

          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
          • jahonixJ
            jahonix
            last edited by

            And on your Modem_access Interface you should UNcheck "Block private networks".

            1 Reply Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator
              last edited by

              How exactly do you think your nat is going to work?  You have 10.0.0/8 as dest but you also have it a source for your lan automatic nat, etc.

              What I would do is START over!!!  delete all that crap.. And why again do you think you need to run a bridge on pfsense?

              And I find it highly unlikely your "modem" is using /8 as its mask for its 10 address.. Your status doesn't even show your wan interface up..

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.8, 24.11

              1 Reply Last reply Reply Quote 0
              • B
                balubeto
                last edited by

                I noticed that if I enable the Interfaces –-> Modem_access interface and, then, I click on the Connect button on the Status ---> Interfaces, the firewall connects to the Internet but the computers on the LAN have no more Internet. Why?

                Thanks

                Bye

                balubeto

                1 Reply Last reply Reply Quote 0
                • johnpozJ
                  johnpoz LAYER 8 Global Moderator
                  last edited by

                  Prob has something to do with running same 10/8 network on both your wan and lan?  Or maybe some nonsense you did with a bridge??

                  What I would do is start over!!  NO freaking bridges… Actually validate what your modem is using for its mask on this 10 address.  And then create your interface using that.. And don't use an overlapping network on your lan side, etc.

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.8, 24.11

                  1 Reply Last reply Reply Quote 0
                  • B
                    balubeto
                    last edited by

                    @johnpoz:

                    Prob has something to do with running same 10/8 network on both your wan and lan?  Or maybe some nonsense you did with a bridge??

                    What I would do is start over!!  NO freaking bridges… Actually validate what your modem is using for its mask on this 10 address.  And then create your interface using that.. And don't use an overlapping network on your lan side, etc.

                    Excuse me, but how do I solve my problem?

                    Thanks

                    Bye

                    balubeto

                    1 Reply Last reply Reply Quote 0
                    • johnpozJ
                      johnpoz LAYER 8 Global Moderator
                      last edited by

                      My gawd dude… I just told you!!

                      Lets start with basic info number 1... Ok your modem is using a 10.address - what is the mask on that?  I find it like impossible to believe it would be /8 so what it /24?

                      So if its 10.0.0.1/24 then make your interface 10.0.0.2/24

                      On the lan side of your network - do not use ANY networks that are 10.0.0.0/24 or that would overlap it like 10.0.0.0/8 or /16 or /23 etc.. -- say away from all 10 networks would be my suggestion.

                      Then create your outbound so when you want to talk to 10.0.0/24 you nat to your 10.0.0.2 address.  Using hybrid mode put that outbound nat above your automatic nats.

                      And don't create any freaking bridges!!!  You have ZERO use for them!!

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 24.11 | Lab VMs 2.8, 24.11

                      1 Reply Last reply Reply Quote 0
                      • B
                        balubeto
                        last edited by

                        @johnpoz:

                        My gawd dude… I just told you!!

                        Lets start with basic info number 1... Ok your modem is using a 10.address - what is the mask on that?  I find it like impossible to believe it would be /8 so what it /24?

                        So if its 10.0.0.1/24 then make your interface 10.0.0.2/24

                        On the lan side of your network - do not use ANY networks that are 10.0.0.0/24 or that would overlap it like 10.0.0.0/8 or /16 or /23 etc.. -- say away from all 10 networks would be my suggestion.

                        Then create your outbound so when you want to talk to 10.0.0/24 you nat to your 10.0.0.2 address.  Using hybrid mode put that outbound nat above your automatic nats.

                        And don't create any freaking bridges!!!  You have ZERO use for them!!

                        So, can you explain in detail what I have to do to try if your idea works?

                        Thanks

                        Bye

                        balubeto

                        1 Reply Last reply Reply Quote 0
                        • johnpozJ
                          johnpoz LAYER 8 Global Moderator
                          last edited by

                          How is that not enough detail for you.. .Really??  Do you want me to remote to your system and do it for you?

                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                          If you get confused: Listen to the Music Play
                          Please don't Chat/PM me for help, unless mod related
                          SG-4860 24.11 | Lab VMs 2.8, 24.11

                          1 Reply Last reply Reply Quote 0
                          • B
                            balubeto
                            last edited by

                            @johnpoz:

                            How is that not enough detail for you.. .Really??  Do you want me to remote to your system and do it for you?

                            What are the images that you need to be able to solve my problem?

                            Thanks

                            Bye

                            balubeto

                            1 Reply Last reply Reply Quote 0
                            • johnpozJ
                              johnpoz LAYER 8 Global Moderator
                              last edited by

                              I already solved your problem multiple times and told you exactly what do for gosh sake…

                              The info you need is in the access my modem article..
                              https://doc.pfsense.org/index.php/Accessing_modem_from_inside_firewall

                              Here are some pictures.. Now I have to use a vip to do this since I am actually using my WAN with a public IP on it.. But you are using pppoe so you would do this via interface actually assigned to your WAN interface.

                              So my modem uses 192.168.100.1/24 -- I know its a /24 because when it doesn't have a isp connection it hands out IPs via dhcp in 192.168.100.0/24  And doesn't really matter if you have the mask exactly right as long as your not overlapping with your other networks, and your modem and IP on your wan are in the same network..  So use /24!!! is your best option if you do not know for sure what the mask is..

                              So I create VIP..  You would do it on your wan interface that your calling modem_access.. You then create an outbound nat that says hey when going to that network from your source use this interface address..

                              You can see me accessing my modem, you can see the states in the state table on pfsense.. What is it that your not understanding here???  Do you not understand how pfsense nats to yoru public network??  Its the SAME freaking thing.. But only to another rfc1918 network..

                              accessmodem.jpg
                              accessmodem.jpg_thumb

                              An intelligent man is sometimes forced to be drunk to spend time with his fools
                              If you get confused: Listen to the Music Play
                              Please don't Chat/PM me for help, unless mod related
                              SG-4860 24.11 | Lab VMs 2.8, 24.11

                              1 Reply Last reply Reply Quote 0
                              • B
                                balubeto
                                last edited by

                                @johnpoz:

                                I already solved your problem multiple times and told you exactly what do for gosh sake…

                                The info you need is in the access my modem article..
                                https://doc.pfsense.org/index.php/Accessing_modem_from_inside_firewall

                                Here are some pictures.. Now I have to use a vip to do this since I am actually using my WAN with a public IP on it.. But you are using pppoe so you would do this via interface actually assigned to your WAN interface.

                                So my modem uses 192.168.100.1/24 -- I know its a /24 because when it doesn't have a isp connection it hands out IPs via dhcp in 192.168.100.0/24  And doesn't really matter if you have the mask exactly right as long as your not overlapping with your other networks, and your modem and IP on your wan are in the same network..  So use /24!!! is your best option if you do not know for sure what the mask is..

                                So I create VIP..  You would do it on your wan interface that your calling modem_access.. You then create an outbound nat that says hey when going to that network from your source use this interface address..

                                You can see me accessing my modem, you can see the states in the state table on pfsense.. What is it that your not understanding here???  Do you not understand how pfsense nats to yoru public network??  Its the SAME freaking thing.. But only to another rfc1918 network..

                                Which devices are the 192.168.100.2 and 192.168.9.x IPs displayed in your image?

                                Thanks

                                Bye

                                balubeto

                                1 Reply Last reply Reply Quote 0
                                • johnpozJ
                                  johnpoz LAYER 8 Global Moderator
                                  last edited by

                                  That is my freaking VIP…  Its right there in the freaking pictures!!  What do you not get??  Nobody can be this freaking dense.. Your just freaking trolling now...

                                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                                  If you get confused: Listen to the Music Play
                                  Please don't Chat/PM me for help, unless mod related
                                  SG-4860 24.11 | Lab VMs 2.8, 24.11

                                  1 Reply Last reply Reply Quote 0
                                  • B
                                    balubeto
                                    last edited by

                                    router=10.0.0.1/24
                                    Firewall=192.168.1.1


                                    I still can not access the router. Why?

                                    balubeto

                                    1 Reply Last reply Reply Quote 0
                                    • pttP
                                      ptt Rebel Alliance
                                      last edited by

                                      Because "you're doing it wrong" !  ;)

                                      As pointed/noted before, since you are using PPPoE on WAN,  the VIP is NOT needed/necessary….

                                      https://forum.pfsense.org/index.php?topic=118740.msg658480#msg658480

                                      https://forum.pfsense.org/index.php?topic=118740.msg658918#msg658918

                                      1 Reply Last reply Reply Quote 0
                                      • johnpozJ
                                        johnpoz LAYER 8 Global Moderator
                                        last edited by

                                        Dude I think he is just trolling nobody can be this freaking dense… Its just not possible.. It's been stated over and over again..  I think his just thinks its funny to see how long we will continue to try and help him..

                                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                                        If you get confused: Listen to the Music Play
                                        Please don't Chat/PM me for help, unless mod related
                                        SG-4860 24.11 | Lab VMs 2.8, 24.11

                                        1 Reply Last reply Reply Quote 0
                                        • B
                                          balubeto
                                          last edited by

                                          The ptt's solution works in part because I can access the router but, when I disconnect and connect the PPPoE service through the Status –-> Interfaces window, the Internet does no more work:


                                          While the johnpoz's solution (logically disabling the Modem_access interface) does not work because I can not access my router:

                                          In addition, some of you wanted to know the interfaces and the bridges that I have:

                                          So, how do I solve my problem?

                                          Thanks

                                          Bye

                                          balubeto

                                          1 Reply Last reply Reply Quote 0
                                          • johnpozJ
                                            johnpoz LAYER 8 Global Moderator
                                            last edited by

                                            ARrrgghhh I am done with this thread - you clearly are freaking trolling.. Who told you to turn off your PPPoe?  Connection..  And why and the F are you bridging all your interfaces…  Told you not to do that!!!  WTF dude???

                                            Nobody can be this freaking DENSE.. .Clearly your just trolling hope you having fun... Im out..

                                            Even if you wanted to bridge some interfaces... Nobody can be this freaking stupid... Really!!!

                                            How would this freaking work dude??  Come on!!!  If you just don't have clue one on what a mask is or what IPs are then say so..  Once again you have 10/8 as a dest and on your lan side??  And you put a 192.168.1. on your modem_access (wan)??  What???

                                            thisstupid.jpg_thumb
                                            thisstupid.jpg

                                            An intelligent man is sometimes forced to be drunk to spend time with his fools
                                            If you get confused: Listen to the Music Play
                                            Please don't Chat/PM me for help, unless mod related
                                            SG-4860 24.11 | Lab VMs 2.8, 24.11

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