January 10, 20233 yr Dear, I'm having troubles setting up the new router with port forwarding, those might not be so much of an unraid issue but didn't know where to ask. I'm using unraid with SWAG, to make some unraid containers accessible from the outside. This used to work flawless on my first setup which was a router and modem in one machine (by my provider) and some port forwarding. I recently installed a new router, setup the port forwarding on that one, but i can't seem to be able to connect to any ports. See the specs below. MODEM: Telenet DOCSIS 3.1 WIRELESS Lan ip: 192.168.1.1 Wan ip: 84.195.xxx.xxx Router: Asus RT-AX89X Lan ip: 192.168.0.1 (Different subnet) Wan ip: 192.168.1.201 Unraid IP: 192.168.0.2 I currently only use the modem to get my internet connection and then route the modem to my router for the port forwarding (192.168.1.1 -> 192.168.0.1) Can anyone please point me in the right direction. If needed more info feel free to ask, hope some one can help me since networking is not my strong suite. Kind regards Edited January 10, 20233 yr by Jochem
January 10, 20233 yr Community Expert I dont understand you why your router has a WAN IP 84.195.x.x (same as modem) the correct setup should be: internet -> modem (WAN 84.195..., LAN 192.168.1.1. DMZ host 192.168.1.2) -> Asus Router (WAN 192.168.1.2, LAN 192.168.0.1) the modem should only be connected to the WAN port of the router (then it will work with your settings shown). And the modem needs to be configured to use DMZ host (forward all incoming traffic) to the ASUS router. (and yes, you wont be able to access the modem from you internal LAN anymore, thats perfectly ok)
January 10, 20233 yr Author @MAM59, thanks for the reply! Seems the port forwarding worked now (can see them open at canyouseemee) but still can't acces my docker containers. Gonna look abit more into this, keep you posted on the result. Edited January 10, 20233 yr by Jochem
January 11, 20233 yr Author Ok so far not much progress.. The portforwarding seems to work cause i can vpn through my unraid server again, however swag does not revesere proxy my containers (nextcloud, vaultwarden, etc etc) any idea how i could debug this ?
January 11, 20233 yr Solution It looks to me like the Telenet "Modem" is also a router, and you are in a double-NAT situation. Port forwarding is a pain with this setup, you need to forward port 32400 on the Telenet to port 32400 on the Asus, and then port forward 32400 on the Asus to Unraid. Or you may have luck putting the Asus in the Telenet's DMZ and then just setting up port forwards on the Asus. Ultimately, I would avoid this situation if at all possible. Either get rid of the Asus and just do everything on the Telenet, or put the Telenet into "bridge" mode so it is just a modem and not a router (this will also disable its wireless capabilities)
January 12, 20233 yr Author @ljm42 , Thanks for the reply! Your solution has worked, had to forward it twice.... i'm going to ask my ISP for a modem-only solution since i cant put their router-modem in bridge mode! Thanks for pointing me in the good direction!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.