Hello Ramon,
----- Original Message -----
From: Ramon de los Reyes
To: PLUG
>my question is that do i have to complete the said line like specify the
port, protocol etc ???
ex.. redirect tcp packets with destination port 80 to port 3128 :
(transparent proxy (squid))
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j
REDIRECT --to-port 3128
ex.. allow tcp packets on port 53.....
iptables -A FORWARD -p TCP -i eth0 -s $your_lan --dport 53 -j ACCEPT
ex.. allow udp packets on port 53.....
iptables -A FORWARD -p UDP -i eth0 -s $your_lan --dport 53 -j ACCEPT
ex.. allow icmp packets with icmp-type 8 (echo).....
iptables -A FORWARD -p ICMP -s 0/0 --icmp-type 8 -j ACCEPT
for more info: http://www.linuxguruz.org/iptables/
>my other question is do i have to set up a proxy (i.e. squid)??
http://www.linuxdocs.org/HOWTOs/Bandwidth-Limiting-HOWTO/install.html
cheers,
ian perez
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph
To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]