Im running lighttpd at a custom port and i want to forward port 80 to that port so my custom webserver handles all http requests
Code:# iptables -I INPUT -p tcp --dport 80 -j ACCEPT # iptables -t nat -A PREROUTING -p tcp -i eth0 --dport 80 -j DNAT --to [ROUTER LOCAL IP]:[CUSTOM PORT]