Author
Message
mfigrs DD-WRT Novice Joined: 26 Apr 2019 Posts: 16
Posted: Tue May 28, 2019 19:46 Post subject: How to access dd-wrt admin via OpenVPN?
Please excuse a newbie question - perhaps this is something obvious...
I am running dd-wrt build 33555 on a wnr3500lv1 router.
I've set-up OpenVPN server on it and I can connect to my home network just fine. Almost all seems to work - I can access all devices on my home network by their local IPs... all except one: the router itself.
How do I access the ddwrt admin page, when connected to it via OpenVPN?
Back to top
Sponsor
egc DD-WRT Guru Joined: 18 Mar 2014 Posts: 12917 Location: Netherlands
Back to top
mfigrs DD-WRT Novice Joined: 26 Apr 2019 Posts: 16
Posted: Wed May 29, 2019 13:03 Post subject:
Yes, I was hoping I could reach the router by its LAN IP, but it times out.
Here are my firewall rules, after the guide: https://www.howtogeek.com/64433/how-to-install-and-configure-openvpn-on-your-dd-wrt-router/ - about 4/5 down the page.
Code: iptables -I INPUT 1 -p udp --dport 1194 -j ACCEPT
iptables -I FORWARD 1 --source 192.168.1.0/24 -j ACCEPT
iptables -I FORWARD -i br0 -o tun0 -j ACCEPT
iptables -I FORWARD -i tun0 -o br0 -j ACCEPT
I've updated the IP address to match my setup, but other than that, I have no idea what these rules do.
Back to top
egc DD-WRT Guru Joined: 18 Mar 2014 Posts: 12917 Location: Netherlands
Back to top
mfigrs DD-WRT Novice Joined: 26 Apr 2019 Posts: 16
Posted: Wed May 29, 2019 14:26 Post subject:
egc wrote: Who puts those silly ideas into your heads.
The only rule you need is missing.
Remove all those firewall rules.
Remove everything you probably put in the additional config!
See my signature at the bottom of this post for a guide how to set up an OVPN server
Thank you!
I followed your guide to the letter (almost), and I am now able to access everything on my home LAN, including the router.
Should have read the guide after your first post - my bad. Thanks again!
Back to top
egc DD-WRT Guru Joined: 18 Mar 2014 Posts: 12917 Location: Netherlands
Back to top