So I've just installed DD-WRT on my router and I wanted to redirect all http requests to my local host located at 192.168.1.50
(port 80
) but I'm unable to find any way of doing this.
I've tried doing something like address=/google.com/192.168.1.50
it works but making a giant list would be pain. Is there an easier way to do this? I've looked into using iptables on the router itself but since it was my first time using them I haven't got the results I wanted.
iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination 192.168.1.50