more iptables help

Travis Roy troy at ntisys.com
Tue Jun 17 16:00:02 EDT 2003


Alright, FINALLY found an example for #1

iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j DNAT --to
207.22.18.51

Now I'm working on getting #2..


> I need two rules...
>
> 1. Anybody comin' thru interface eth1 gets sent to 1.2.3.4:80
> 2. The person with the IP address 10.1.2.3 is allowed to get by
> that redirect
>
> PLEASE HELP!




More information about the gnhlug-discuss mailing list