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

Double NAT with no option to Bridge ISP router

Scheduled Pinned Locked Moved NAT
10 Posts 2 Posters 1.4k 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
    franky29
    last edited by Mar 18, 2020, 8:59 PM

    Here is a pic of my network setup. My ISP's router isn't able to go into bridge mode yet so I'm stuck behind a double NAT rule. Now I've been looking at the other solutions but nothing really fits and I've tried hybid mode in Firewall>NAT.

    I'm trying to get access to my Home Assistant server from the internet via https://<duckDNS_URL> and forward that to my local server on the LAN on port 8123. I don't think I need to go into details that this is a PVE with NICs that are bridged to pfsense ;)

    I can reach the internet from both DMZ and LAN so no issues there. local_Network.png

    1 Reply Last reply Reply Quote 0
    • K
      kiokoman LAYER 8
      last edited by kiokoman Mar 18, 2020, 9:23 PM Mar 18, 2020, 9:17 PM

      you just need to set wan of pfsense as dmz or forward everything to pfsense and from pfsense a nat rule, remeber to disable "block private network" from the interfaces.
      also that 192.168.10.2 is another router ? if so it's a triple nat you are dealing with
      from modem nat to pfsense from pfsense nat to 192.168.10.2 from here to your google stuff
      what it's strange here is that you have wled hw1 and google mini / wled hw2 and google assistant with the same ip? that can't be good
      personally i will remove that router and use an access point instead
      another thing, you are using the same subnet for google/wled stuff and your raspi stuff.

      ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
      Please do not use chat/PM to ask for help
      we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
      Don't forget to Upvote with the 👍 button for any post you find to be helpful.

      1 Reply Last reply Reply Quote 0
      • F
        franky29
        last edited by Mar 18, 2020, 9:31 PM

        @kiokoman said in Double NAT with no option to Bridge ISP router:

        192.168.10.2 is another router

        Ok. so 1st My bad for the same IP addresses. That was a copy paste mistake. Don't pay attention to the DMZ. that's just an dumb TP-Link router with DD-WRT acting as a dumb AP where all of my wifi automation resides.

        The IP's in the DMZ are actually 192.168.10.0/24. Again My bad for a horrible detail in the drawing.

        the traffic I'm interested in is the Orange router 192.168.5.1>to PFsense WAN 192.168.5.22>LAN 192.168.0.150:8123

        PS> i'll see if I can update the original drawing.

        1 Reply Last reply Reply Quote 0
        • K
          kiokoman LAYER 8
          last edited by kiokoman Mar 18, 2020, 9:39 PM Mar 18, 2020, 9:38 PM

          ok it's nothing special, as i said you need to set 192.168.5.22 as dmz inside your isp modem or portforward everything from your modem to it
          and from pfsense you need a nat port forward from tcp wan address port 8123 to 192.168.0.150 port 8123
          if it's not working use Diagnostic / packet capture to see if traffic is coming and where is going
          and remember to disable "block private network" from the interfaces

          ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
          Please do not use chat/PM to ask for help
          we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
          Don't forget to Upvote with the 👍 button for any post you find to be helpful.

          1 Reply Last reply Reply Quote 0
          • F
            franky29
            last edited by franky29 Mar 18, 2020, 9:52 PM Mar 18, 2020, 9:49 PM

            @kiokoman said in Double NAT with no option to Bridge ISP router:

            et 192.168.5.22 as dmz inside your isp modem or portforward everything from your modem to it
            and from pfsense you need a nat port forward from tcp wan address port 8123

            I'll take a look at the pfsense logs. Currently my pfSense WAN is in the DMZ router
            "current DMZ is: 192.168.5.22" (From the modem UI)

            Edit:
            So now when I'm trying to reach my HA web server I get the "pfsense" Potential DNS rebind attack detected. page

            1 Reply Last reply Reply Quote 0
            • F
              franky29
              last edited by Mar 18, 2020, 10:19 PM

              I've made progress. At least now I can see traffic on the WAN trying to get from port 443 to port 8123
              Ideas?

              2020-03-18_2318.png

              1 Reply Last reply Reply Quote 0
              • K
                kiokoman LAYER 8
                last edited by Mar 19, 2020, 12:47 AM

                yeah port 443 is used by the webgui, you need to change that port from system / advanced / admin access or you need to change the port forward so to access your internal server you have to write https://<duckDNS_URL>:8123

                ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                Please do not use chat/PM to ask for help
                we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                1 Reply Last reply Reply Quote 1
                • F
                  franky29
                  last edited by Mar 19, 2020, 8:05 PM

                  I'm at a loss. I changed mu pfsense GUI to 442 and also tried to use the url without and with port 8123 and still getting nowhere. Here is my portfwd rule from my firewall and I have NAT outbound as automatic.
                  portfwd.png

                  WAN rules
                  WAN.png

                  LAN
                  DMZ.png

                  1 Reply Last reply Reply Quote 0
                  • K
                    kiokoman LAYER 8
                    last edited by kiokoman Mar 19, 2020, 8:15 PM Mar 19, 2020, 8:13 PM

                    no, that rule is wrong,
                    most of the time you don't know the source port, it's random
                    the destination is your WAN address not your internal ip, that is your destination for the NAT
                    the rule should be
                    source *
                    source port *
                    dest address WAN
                    dest port 443 (HTTPS)
                    NAT IP 192.168.0.150
                    NAT Ports 8123

                    ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                    Please do not use chat/PM to ask for help
                    we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                    Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                    1 Reply Last reply Reply Quote 1
                    • F
                      franky29
                      last edited by Mar 19, 2020, 8:18 PM

                      I'm an idiot. I'm so used to cisco fw rules that I totally misinterpreted this. I feel Sheeeeepish ;) Thanks man! you truly deserve the thumbs up.

                      1 Reply Last reply Reply Quote 0
                      1 out of 10
                      • First post
                        1/10
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                        This community forum collects and processes your personal information.
                        consent.not_received