NeutralEagle
New Around Here
Hello,
I have spent a lot of time researching and attempting to connect two routers, where one is connected with a public static IP, and the other by a static nonpublic IP. I need the router with nonpublic IP to be reachable from outside network permanently.
Configuration:
Site PUBLIC:
Router Asus AC66u running latest Merlin release (RT-AC66U_380.70_0)
Example external IP: 111.111.111.111
Router Internal IP: 192.168.1.1
Site PRIVATE:
Router TP-Link Archer C7 AC1750 v5 running latest OpenWRT (https://openwrt.org/toh/hwdata/tp-link/tp-link_archer_c7_v5)
Example external IP: 222.222.222.222
Router Internal IP: 192.168.2.1
Device that needs to be exposed to the internet: 192.168.2.200
PUBLIC accept outside connections to port 5555, and forward them to PRIVATE, which will forward them to a device on LAN.
Example: 111.111.111.111:5555 will be accepted by router in PRIVATE by a device in LAN 192.168.2.200:80
Could somebody please offer a step by step guide how to make this work or at least confirm if my attempts are possible? I am open to learning new things
I have local access to both these routers whenever needed, so setup can be made locally if required.
I have looked into reverse SSH tunneling which should by my opinion be very possible and is probably the best and most secure option. I have managed to create a reverse SSH tunnel between the two routers, but never managed to make the forwarding to work.
EDIT - Diagram:
I have spent a lot of time researching and attempting to connect two routers, where one is connected with a public static IP, and the other by a static nonpublic IP. I need the router with nonpublic IP to be reachable from outside network permanently.
Configuration:
Site PUBLIC:
Router Asus AC66u running latest Merlin release (RT-AC66U_380.70_0)
Example external IP: 111.111.111.111
Router Internal IP: 192.168.1.1
Site PRIVATE:
Router TP-Link Archer C7 AC1750 v5 running latest OpenWRT (https://openwrt.org/toh/hwdata/tp-link/tp-link_archer_c7_v5)
Example external IP: 222.222.222.222
Router Internal IP: 192.168.2.1
Device that needs to be exposed to the internet: 192.168.2.200
PUBLIC accept outside connections to port 5555, and forward them to PRIVATE, which will forward them to a device on LAN.
Example: 111.111.111.111:5555 will be accepted by router in PRIVATE by a device in LAN 192.168.2.200:80
Could somebody please offer a step by step guide how to make this work or at least confirm if my attempts are possible? I am open to learning new things
I have local access to both these routers whenever needed, so setup can be made locally if required.
I have looked into reverse SSH tunneling which should by my opinion be very possible and is probably the best and most secure option. I have managed to create a reverse SSH tunnel between the two routers, but never managed to make the forwarding to work.
EDIT - Diagram:
Last edited: