iptables

Giuseppe Greco giuseppe.greco at agamura.com
Sat Dec 18 10:41:36 UTC 2004


Hi all,

I've to modify my /etc/sysconfig/iptables in order to
redirect HTTP requests to port 3128 (squid).

I've added the following line

  -A PREROURING -s 10.0.0.0/24 -i eth0 -p tcp -m tcp --dport 80
     -j REDIRECT --to-port 3128

... but iptables doesn't like this line... Am I missing something?

Thanks,
j3d.

-- 
----------------------------------------
Giuseppe Greco

::agamura::

phone:  +41 (0)91 604 67 65
mobile: +41 (0)79 602 99 27
email:  giuseppe.greco at agamura.com
web:    www.agamura.com
----------------------------------------




More information about the fedora-list mailing list