• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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.
  • J
    JonathanLee @Globaltrader312
    last edited by JonathanLee Jun 23, 2024, 1:36 AM Jun 23, 2024, 1:35 AM

    @Globaltrader312

    login-to-view

    login-to-view

    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
    • J
      JonathanLee
      last edited by JonathanLee Jun 23, 2024, 1:44 AM Jun 23, 2024, 1:40 AM

      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.

      login-to-view

      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 Jun 23, 2024, 2:05 AM Reply Quote 0
      • G
        Globaltrader312 @JonathanLee
        last edited by Jun 23, 2024, 2:05 AM

        @JonathanLee

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

        login-to-view login-to-view login-to-view

        J 1 Reply Last reply Jun 23, 2024, 2:50 AM Reply Quote 0
        • J
          JonathanLee @Globaltrader312
          last edited by Jun 23, 2024, 2:50 AM

          @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 Jun 23, 2024, 2:58 AM Reply Quote 0
          • G
            Globaltrader312 @JonathanLee
            last edited by Jun 23, 2024, 2:58 AM

            @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
            login-to-view login-to-view

            J P 2 Replies Last reply Jun 23, 2024, 3:01 AM Reply Quote 0
            • J
              JonathanLee @Globaltrader312
              last edited by JonathanLee Jun 23, 2024, 3:11 AM Jun 23, 2024, 3:01 AM

              @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 Jun 23, 2024, 11:14 AM Reply Quote 0
              • P
                patient0 @Globaltrader312
                last edited by patient0 Jun 23, 2024, 7:10 AM Jun 23, 2024, 7:00 AM

                @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 Jun 23, 2024, 11:14 AM

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

                  see screenshot
                  login-to-view login-to-view login-to-view

                  G 1 Reply Last reply Jun 23, 2024, 11:19 AM Reply Quote 0
                  • G
                    Globaltrader312 @Globaltrader312
                    last edited by Jun 23, 2024, 11:19 AM

                    @Globaltrader312 So when I ping the vigor interface, the Vigor Mac is displayed.login-to-view

                    P 1 Reply Last reply Jun 23, 2024, 12:07 PM Reply Quote 0
                    • P
                      patient0 @Globaltrader312
                      last edited by Jun 23, 2024, 12:07 PM

                      @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
                      • J
                        johnpoz LAYER 8 Global Moderator @Globaltrader312
                        last edited by Jun 23, 2024, 12:10 PM

                        @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 Jun 23, 2024, 12:20 PM Reply Quote 0
                        • G
                          Globaltrader312 @johnpoz
                          last edited by Jun 23, 2024, 12:20 PM

                          @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

                          J 1 Reply Last reply Jun 23, 2024, 12:29 PM Reply Quote 0
                          • J
                            johnpoz LAYER 8 Global Moderator @Globaltrader312
                            last edited by Jun 23, 2024, 12:29 PM

                            @Globaltrader312 DON'T Set the gateway on the rule so pfsense can use its normal routing.. It is attached to the 192.168.5 network - it knows how to get there - you can ping it right.. So why would you think you should force it out the pppoe connection.

                            The rules say nothing of the sort.

                            If your doing auto nat, pfsense would change your lan connection to the 192.186.5.2 address when talking to the vigor .1 address. Unless you have modified your outbound nat this should be clicky clicky.

                            You have multiple wan interfaces, and are doing policy routing.. You have to have rules that allow the traffic you want without policy routing.

                            Your taking instructions for a simple setup, one pppoe connection which normally people wouldn't policy route with and trying to apply them to your not common setup..

                            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 Jun 23, 2024, 12:44 PM Reply Quote 0
                            • G
                              Globaltrader312 @johnpoz
                              last edited by Jun 23, 2024, 12:44 PM

                              @johnpoz said in Access Modem GUI Behind Firewall:

                              DON'T Set the gateway on the rule so pfsense can use its normal routing.. It is attached to the 192.168.5 network - it knows how to get there - you can ping it right.. So why would you think you should force it out the pppoe connection.

                              The rules say nothing of the sort.

                              If your doing auto nat, pfsense would change your lan connection to the 192.186.5.2 address when talking to the vigor .1 address. Unless you have modified your outbound nat this should be clicky clicky.

                              You have multiple wan interfaces, and are doing policy routing.. You have to have rules that allow the traffic you want without policy routing.

                              Your taking instructions for a simple setup, one pppoe connection which normally people wouldn't policy route with and trying to apply them to your not common setup..

                              DON'T Set the gateway on the rule so pfsense can use its normal routing... It is attached to the 192.168.5 network - it knows how to get there - you can ping it right... So why would you think you should force it out the pppoe connection.

                              i don't think anything i just tried something on the advice of the other user.

                              The rules say nothing of the sort. ok

                              If your doing auto nat, pfsense would change your lan connection to the 192.186.5.2 address when talking to the vigor .1 address. Unless you have modified your outbound nat this should be clicky clicky. i have set the outboundd nat ruele as in the instructions

                              You have multiple wan interfaces, and are doing policy routing... You have to have rules that allow the traffic you want without policy routing ok

                              which ones would that be and how do i set them on my edge router i just had one nat rule and that was enough for that ?

                              Your taking instructions for a simple setup, one pppoe connection which normally people wouldn't policy route with and trying to apply them to your not common setup... I wasn't sure of anything so I asked if it was the Multi WAN Wan failvoer setup

                              1 Reply Last reply Reply Quote 0
                              • P
                                patient0
                                last edited by Jun 23, 2024, 1:06 PM

                                I lost a bit the overview of what got done and what not.

                                If you have the patience I'd start over. For me it worked well by only creating the modem interface and the NAT Outgoing rule, nothing else needed. Even as I added a second WAN-over-USB-tethering interface and created a gateway group with it (WAN tier 1 and WAN-tethering as tier 2).

                                G 1 Reply Last reply Jun 23, 2024, 1:14 PM Reply Quote 0
                                • G
                                  Globaltrader312 @patient0
                                  last edited by Globaltrader312 Jun 23, 2024, 1:15 PM Jun 23, 2024, 1:14 PM

                                  @patient0 I have now removed the gateway with 192.168.5.1 from the firewall rules as well.

                                  yes i am also a bit confused because in the beginning i only had WAN inteferaces with multi WAN and failover setup including iPV4 gateway and V6 gateway and a gateway group with tier 1 2 3 and set this in the LAN any rule
                                  then I worked as described in the instructions.
                                  again it does not work

                                  I will start again from the beginning

                                  P 1 Reply Last reply Jun 23, 2024, 1:36 PM Reply Quote 0
                                  • P
                                    patient0 @Globaltrader312
                                    last edited by Jun 23, 2024, 1:36 PM

                                    @Globaltrader312 I ran/run into a bit of a problem since Friday afternoon that I loose my internet access although I get the public IP but I can't ping the ISP gateway anymore on IPv4. With that I sometimes can't access the modem either sometimes. In that case I can't ping the modem ip neither and the route to the modem/modem net is gone.

                                    I then have to remove PPPoE and add it again, plus have to go into the modem interface and just save it. The route is there again and it voila :/ ... let's hope you don't have that strange point of <whatever the reason of it>

                                    G 1 Reply Last reply Jun 23, 2024, 1:41 PM Reply Quote 0
                                    • G
                                      Globaltrader312 @patient0
                                      last edited by Jun 23, 2024, 1:41 PM

                                      @patient0 I also had a complete outage several times a day, only 100 packet loss on all 3 WANs, a known problem when bagoon networks are blocked because the table is full, even though I use a Dell EMC 430 server for the Pfsense.

                                      1 Reply Last reply Reply Quote 0
                                      • J
                                        JonathanLee
                                        last edited by Jun 23, 2024, 2:59 PM

                                        You need an arp entry for it to work. What interface can you ping it from?

                                        Make sure to upvote

                                        G 1 Reply Last reply Jun 23, 2024, 3:01 PM Reply Quote 0
                                        • G
                                          Globaltrader312 @JonathanLee
                                          last edited by Jun 23, 2024, 3:01 PM

                                          @JonathanLee said in Access Modem GUI Behind Firewall:

                                          o

                                          interface vigor

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