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

    Access Modem GUI Behind Firewall

    NAT
    firewall rules nat rules interface gui access modem
    5
    107
    8.9k
    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.
    • G
      Globaltrader312 @JonathanLee
      last edited by

      @JonathanLee

      ||Bildschirmfoto 2024-06-23 um 02.39.43.png Bildschirmfoto 2024-06-23 um 02.39.50.png Bildschirmfoto 2024-06-23 um 02.40.59.png

      I have now selected ppoe as Getway WAN2 and moved it to the top

      see screen shot

      unfortunately it still does not load

      JonathanLeeJ johnpozJ 2 Replies Last reply Reply Quote 0
      • JonathanLeeJ
        JonathanLee @Globaltrader312
        last edited by JonathanLee

        @Globaltrader312 above antilock as it still shows no traffic. We need to see traffic. What is your lan subnets alias set as also?

        Make sure to upvote

        G 1 Reply Last reply Reply Quote 0
        • G
          Globaltrader312 @JonathanLee
          last edited by

          @JonathanLee i can't set this rule over the anti lockout rule it always goes down 1

          JonathanLeeJ 2 Replies Last reply Reply Quote 0
          • JonathanLeeJ
            JonathanLee @Globaltrader312
            last edited by JonathanLee

            @Globaltrader312 that modem also uses port 80? Can you change it on the modem to 8080? This would help a lot. I don’t use antilock out rules I got rid of them and changed my port to something else and made rules for it. You could get locked out so change your modem port instead that would work also

            Make sure to upvote

            1 Reply Last reply Reply Quote 0
            • JonathanLeeJ
              JonathanLee @Globaltrader312
              last edited by JonathanLee

              @Globaltrader312 what is inside your “lan subnets” alias? You have that listed for every rule as source, thus everything on every subnet is approved to go anywhere? Maybe start compartmentalization of the source acls with specific subnets, again they are fail overs, you need a different port for the modem is what I would do and or make a lan side nat with one say access it as 8080 and nat it to 80 with that host ip I did that with syslogs. Thus firewall would attempt to access it on 8080 and it would nat it over to the modem’s IP address and forward it with port forwarding to port 80.

              Make sure to upvote

              G 1 Reply Last reply Reply Quote 0
              • G
                Globaltrader312 @JonathanLee
                last edited by

                @JonathanLee in the Lan subnet all devices macs iPhones iPads and other devices are in the network. nothing more i simply followed the Netgate instructions and configured it that way.

                JonathanLeeJ 1 Reply Last reply Reply Quote 0
                • JonathanLeeJ
                  JonathanLee @Globaltrader312
                  last edited by JonathanLee

                  @Globaltrader312 try for me, make a lan side nat that has port 8080 as destination and that modem’s ip and set it port forward to 80 with the modem ip as destination. After attempt to access that address in your url with ipaddessofmodem:8080 just port forward it with some random port that the firewall knows where to send it.

                  So source “any” destination “192.168.5.1:8080” port forward it to “192.168.5.1:80” after see if you have ACL bytes

                  Make sure it uses the correct gateway. that way it can get around your any any lockout rule and know where to go. I had to do this with a non standard syslog port from an AP so that the firewall could see the logs.

                  I hate to ask this you are sure you use in the url 192.168.5.1 and only use port 80 there is no lock showing when you access that gui from a direct laptop connection? What a puzzle, I love this stuff I did a HE ipv6 set up a couple weeks ago and it was working perfectly until my wife said set it back the way it was because she didn’t like that I wasn’t 100 percent sure of it.

                  Make sure to upvote

                  G 1 Reply Last reply Reply Quote 0
                  • G
                    Globaltrader312 @JonathanLee
                    last edited by

                    @JonathanLee

                    so I looked again

                    the ports 80 and 443 are used, I have changed them to 8080 in the modem and to 444

                    I generally know how to make a port forward, but unfortunately I am not sure about this for Lan, if I want to set a port forward there I have the following but no field for port specification.Bildschirmfoto 2024-06-23 um 03.21.44.png Bildschirmfoto 2024-06-23 um 03.21.44.png

                    JonathanLeeJ 1 Reply Last reply Reply Quote 0
                    • JonathanLeeJ
                      JonathanLee @Globaltrader312
                      last edited by JonathanLee

                      @Globaltrader312

                      Screenshot 2024-06-22 at 18.27.16.png

                      Screenshot 2024-06-22 at 18.27.47.png

                      Something like this it is it is located under "Firewall" "NAT"
                      Except use tcp/udp

                      Interface set to LAN, Source "any" first to try and set Destination to 192.168.5.1 and port 8080

                      After redirect target port set to HTTP and redirect target IP ad 192.168.5.1

                      Try this first to see if you can access it and or get logs. forget about 443 right now

                      Make sure to upvote

                      1 Reply Last reply Reply Quote 0
                      • JonathanLeeJ
                        JonathanLee
                        last edited by JonathanLee

                        OHHHH YEAH I FORGOT
                        !!! Just Try a floating rule that can use all the interfaces and set the gateway to the one where the modem resides that would work also.

                        Screenshot 2024-06-22 at 18.38.51.png

                        Gateway is under extra options. I think this would work better Don't use my settings set your destination to that modem and use the gateway it needs

                        Make sure to upvote

                        G 1 Reply Last reply Reply Quote 0
                        • G
                          Globaltrader312 @JonathanLee
                          last edited by

                          @JonathanLee

                          unfortunately this did not help either the hui is still not reachable

                          Bildschirmfoto 2024-06-23 um 04.04.12.png Bildschirmfoto 2024-06-23 um 04.04.30.png Bildschirmfoto 2024-06-23 um 04.04.43.png

                          JonathanLeeJ 1 Reply Last reply Reply Quote 0
                          • JonathanLeeJ
                            JonathanLee @Globaltrader312
                            last edited by

                            @Globaltrader312 does the corresponding auto generated rule show traffic?

                            Please do me a favor and create a floating rule if there is no traffic, I feel like it is auto hitting the first rule in the ACL and that is directing it to the wrong gateway or the other WAN, thus it can't access it and drops the packets please turn on logging on the other rules and we can see in the logs where it hits also.

                            Make sure to upvote

                            G 1 Reply Last reply Reply Quote 0
                            • G
                              Globaltrader312 @JonathanLee
                              last edited by

                              @JonathanLee said in Access Modem GUI Behind Firewall:

                              Please do me a favor and create a floating rule if there is no traffic, I feel like it is auto hitting the first rule in the ACL and that is directing it to the wrong gateway or the other WAN, thus it can't access it and drops the packets please turn on logging on the other rules and we can see in the logs where it hits also.so i have created a floating rule as seen on the screenshots unfortunately it does not help
                              Bildschirmfoto 2024-06-23 um 04.04.43.png Bildschirmfoto 2024-06-23 um 04.58.23.png

                              JonathanLeeJ patient0P 2 Replies Last reply Reply Quote 0
                              • JonathanLeeJ
                                JonathanLee @Globaltrader312
                                last edited by JonathanLee

                                @Globaltrader312

                                Floating Rule destination should be 192.168.5.1 and under advanced extra set this to the gateway that the modem resides on. Please delete the other NAT rule after let's see if it shows in logs. Does anything show in logs?

                                Please enable logging on all the lan interfaces and attempt to access it again and look after under "status" "system logs" click on submenu "firewall"

                                Make sure to upvote

                                G 1 Reply Last reply Reply Quote 0
                                • patient0P
                                  patient0 @Globaltrader312
                                  last edited by patient0

                                  @Globaltrader312 Not sure if it's solved or not.

                                  What bothers me is the fact that you get no ARP entry for the Vigor. If I delete the ARP entry for my modem and run a ping to the modem, the MAC (of course) shows up again. That seems not to be the case for you.

                                  I would try to ping the Vigor router from the VIGOR interface, that should work in any case since it's on the same link, no routing or anything needed (I know you did a ping with default settings).

                                  Diagnostics > Ping
                                  Hostname 192.168.5.1
                                  IP Protocol IPv4
                                  Source address VIGOR

                                  If that works check please again the ARP table for the MAC of your modem (14:49:BC:4C:84:00 according to you screenshot from the modem gui).

                                  Addition: The Vigor als got a ARP table, Chapter IV > IV-1-4 ARP Table in the user manual. The MAC of bge1 has to appear there.

                                  1 Reply Last reply Reply Quote 0
                                  • G
                                    Globaltrader312 @JonathanLee
                                    last edited by

                                    @JonathanLee so i have deleted everything except the floating rule.

                                    see screenshot
                                    Bildschirmfoto 2024-06-23 um 04.58.30.png Bildschirmfoto 2024-06-23 um 13.08.40.png Bildschirmfoto 2024-06-23 um 13.08.47.png

                                    G 1 Reply Last reply Reply Quote 0
                                    • G
                                      Globaltrader312 @Globaltrader312
                                      last edited by

                                      @Globaltrader312 So when I ping the vigor interface, the Vigor Mac is displayed.Bildschirmfoto 2024-06-23 um 13.13.07.png

                                      patient0P 1 Reply Last reply Reply Quote 0
                                      • patient0P
                                        patient0 @Globaltrader312
                                        last edited by

                                        @Globaltrader312 Well, that part looks good. Don't know about the floating firewall rule. I didn't add any firewall rule for the modem access. Have you tried disabling the rule for the moment?

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

                                          @Globaltrader312 said in Access Modem GUI Behind Firewall:

                                          I have now selected ppoe as Getway WAN2 and moved it to the top

                                          But that is not the case, your not going out the pppoe interface, to talk to the modems actual IP, you would go out just the interfaces IP ie the 192.168.5.2 address.. Not the pppoe interface which rides on top of the physical interface.

                                          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.7.2, 24.11

                                          G 1 Reply Last reply Reply Quote 0
                                          • G
                                            Globaltrader312 @johnpoz
                                            last edited by

                                            @johnpoz said in Access Modem GUI Behind Firewall:

                                            But that is not the case, your not going out the pppoe interface, to talk to the modems actual IP, you would go out just the interfaces IP ie the 192.168.5.2 address.. Not the pppoe interface which rides on top of the physical interface.

                                            that's clear to me i just don't know how to change it i followed the instructions from netgate exactly and configured everything the same way then the instructions seem to be useless

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