Try with something like this:No need to rewrite the destination port, if you're interested I once made a small firewall script, I dont use it now, but occasionaly I look at it, since it holds quite alot of description for varius iptables rules.Code:iptables -t nat -A PREROUTING -i $EXTR -p tcp --dport 80 -j DNAT --to $WEB_SRV
Perhaps it will give you a few hints.


Reply With Quote

Bookmarks