[SOLVED] router routing route? gui admin

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
tgvrfcedx
DD-WRT User


Joined: 11 Sep 2021
Posts: 133

PostPosted: Sun Sep 12, 2021 2:35    Post subject: [SOLVED] router routing route? gui admin Reply with quote
what is the correct way to be able to access the ddwrt gui remotely on the last router. i have port mapped the first router and it is working.


1st router with internet dhcp 192.168.0.1 < lan\wan cable link> 2nd router dhcp 10.1.1.1 < lan\lan cable link> 3rd router dhcp 10.1.1.50.

i would like access 3rd router from the internet?

for the 2nd router i have port mapped on the 1st router:
192.1.168.10 (the ip the of 2nd router) on ports 8080
this works

but unsure how to do router 3
i changed router 3 gui to 9090 and mapped router 1 to 192.1.168.10 : 9090. but no luck.

thanks
Sponsor
d33b0_n4p41m
DD-WRT User


Joined: 10 Sep 2021
Posts: 133

PostPosted: Sun Sep 12, 2021 4:18    Post subject: Reply with quote
You have to port forward from R1 to R2 and port forward from R2 to R3 since you are double NAT to R3.
tgvrfcedx
DD-WRT User


Joined: 11 Sep 2021
Posts: 133

PostPosted: Sun Sep 12, 2021 4:50    Post subject: Reply with quote
i have port forwarded
r1 to r2 192.1.68.10 to 9090
in r2 to 10.1.1.50 to 9090

but no joy?


d33b0_n4p41m wrote:
You have to port forward from R1 to R2 and port forward from R2 to R3 since you are double NAT to R3.
d33b0_n4p41m
DD-WRT User


Joined: 10 Sep 2021
Posts: 133

PostPosted: Sun Sep 12, 2021 4:57    Post subject: Reply with quote
I missed something; R3 is a wired AP mode, correct? There is no "remote access" in that mode as the WAN port is disabled. It will only listen on port 80.
tgvrfcedx
DD-WRT User


Joined: 11 Sep 2021
Posts: 133

PostPosted: Sun Sep 12, 2021 5:17    Post subject: Reply with quote
r1 internet <lan to wan> r2 <lan to lan> r3

so should the port map be:
on r1
to 192.168.0.10 (r2) 9090
on r2
port from 9090 to 10.1.1.50 80

thanks


d33b0_n4p41m wrote:
I missed something; R3 is a wired AP mode, correct? There is no "remote access" in that mode as the WAN port is disabled. It will only listen on port 80.
d33b0_n4p41m
DD-WRT User


Joined: 10 Sep 2021
Posts: 133

PostPosted: Sun Sep 12, 2021 5:52    Post subject: Reply with quote
Correct.
tgvrfcedx
DD-WRT User


Joined: 11 Sep 2021
Posts: 133

PostPosted: Sun Sep 12, 2021 7:38    Post subject: Reply with quote
still not connecting.

do i need to add a 'Source Net" for the r2 port forward?


or any other advise on what to check

d33b0_n4p41m wrote:
Correct.
d33b0_n4p41m
DD-WRT User


Joined: 10 Sep 2021
Posts: 133

PostPosted: Sun Sep 12, 2021 11:28    Post subject: Reply with quote
Is the "source net" already quad zeros? If it is, you shouldn't; but you can try adding that as source net.
tgvrfcedx
DD-WRT User


Joined: 11 Sep 2021
Posts: 133

PostPosted: Mon Sep 13, 2021 5:25    Post subject: Reply with quote
source net is blank, still not working
im not sure what the issue is, will have to test further

i may try to access from a pc on the R1 network before trying from the internet

d33b0_n4p41m wrote:
Is the "source net" already quad zeros? If it is, you shouldn't; but you can try adding that as source net.
tgvrfcedx
DD-WRT User


Joined: 11 Sep 2021
Posts: 133

PostPosted: Mon Sep 13, 2021 11:39    Post subject: Reply with quote
still no luck, there must be something blocking or missing in the config.

setup:

<internet>
to wan port of
<router1 192.1.168.1> DHCP on
lan port to wan port of
<router2 10.1.1.1> DHCP on
lan port to lan port of
<router3 10.1.1.2> DHCP off

r1 has port mapped 9090 to 192.168.1.10:90
r2 has port mapped 90 to 10.1.1.2:80

when i try connect from internet (mobile)
i can see in lan status of r2 pop up 10.1.1.2 with the mac from r3.

no sure why i cant get to the GIU of r3
any idea? thanks
tgvrfcedx
DD-WRT User


Joined: 11 Sep 2021
Posts: 133

PostPosted: Sun Sep 19, 2021 9:08    Post subject: Reply with quote
still cant get this to work. any ideas?
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2899
Location: Germany

PostPosted: Sun Sep 19, 2021 12:31    Post subject: Reply with quote
the project seems to be somewhat questionable to me anyway
this is not a reasonable plan to open router access WAN side

you make all 3 routers susceptible to Distributed Denial of Service attacks

vpn is the better solution
or ssh tunneling

e.g. a single board computer with ssh server and public key authentication and fail2ban

over the single board computer you can tunnel to all other devices (the connection is fully encrypted)
tgvrfcedx
DD-WRT User


Joined: 11 Sep 2021
Posts: 133

PostPosted: Mon Sep 20, 2021 12:22    Post subject: Reply with quote
its only for testing and to monitor the setup is working ok before turning off and secure.

its for outside wifi devices.

but i cannot get access to the 3rd router

i have port access to router 2 via 8080 as its the connected to router 1 via WAN port. but i cannot get access to port 80 on router 3 from the internet
tgvrfcedx
DD-WRT User


Joined: 11 Sep 2021
Posts: 133

PostPosted: Sat Sep 25, 2021 12:07    Post subject: Reply with quote
got it working, thanks everyone! (sarcasm) Very Happy


but for anyone else that needs help, try:

in ddwrt router 2
under setup > basic setup > network setup > set the gateway > to the ip of the WAN of router one.

port map on router 1 to ip of router 2
port map on router 2 to ip of router 3 (port 80)


(note: the remote port 8080 in admin setting only works via WAN connection on the router your trying to access)

background:
what i noticed on r2 when i was trying to connect remotely was the ip\mac of r3 popup in the lan list. the port forward was working but getting trapped in r2 not going back to the internet.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum