Jump to content
Not connected, Your IP:

Web interfaces & DD-WRT - Not loading after forwarding ports

Recommended Posts

Posted ... (edited)

I am having trouble connecting remotely to my QNAP TS-253 Pro NAS from outside my network. I have forwarded the ports and the TCP test is showing green, i have forwarded using iptables in dd-wrt and not using the GUI. I can load the QNAP login screen and after typing in my details i just get the loading screen but it never progresses. Does anyone know why this might be? Without VPN it works fine.
In dd-wrt i have set a policy based routing so only my NAS uses the VPN and i do not use QVPN.
This is my iptables in dd-wrt:

iptables -t nat -A POSTROUTING -o tun1 -j MASQUERADE
iptables -I FORWARD -i tun1 -p udp -d --match multiport --dports my,forwarded,ports -j ACCEPT
iptables -I FORWARD -i tun1 -p tcp -d --match multiport --dports my,forwarded,ports -j ACCEPT
iptables -t nat -I PREROUTING -i tun1 -p tcp --match multiport --dports my,forwarded,ports -j DNAT --to-destination
iptables -t nat -I PREROUTING -i tun1 -p udp --match multiport --dports my,forwarded,ports -j DNAT --to-destination
I have tried with and without the first line. I added that because it wasnt working but the same thing happens with that. My VPN is definitely on tun1.

Plex and other web interface that are running  on my NAS do the same so not just QNAP related. Edited ... by kryus
added more info

Share this post

Link to post

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Security Check
    Play CAPTCHA Audio
    Refresh Image

  • Create New...