1

(1 replies, posted in Chillispot Configuration)

Server: iptables 1.4.3

#nano chilli.iptables

---------------------------------------------------------------------------------------------------------------------
#Allow Transparent Proxy
iptables -t nat -A PREROUTING -i tun0 -p tcp -m tcp --dport 3128 --syn -j DROP
iptables -t nat -A PREROUTING -i tun0 -p tcp -m tcp -d 192.168.2.0/24 --dport 80 -j RETURN
iptables -t nat -A PREROUTING -i tun0 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3128
----------------------------------------------------------------------------------------------------------------------

error  show

iptables v1.4.3.2:
The "nat" table is not intended for filtering, the use of DROP is therefore inhibited.
Try `iptables -h' or 'iptables --help' for more information.