Results 1 to 4 of 4
i am asking a very little question
i am using squid on my cable net
now i open the forwarding and postrouting rules through iptables
now i want users browsing ...
- 03-27-2005 #1Just Joined!
- Join Date
- Feb 2005
- Posts
- 35
problem in iptables
i am asking a very little question
i am using squid on my cable net
now i open the forwarding and postrouting rules through iptables
now i want users browsing through squid proxy and voice chat,web sms, web cam etc through iptables
users are not allowed to use http request through iptables
what i can do know
:
drop the 80 request in input cahin or forwarding chain
- 03-28-2005 #2Linux User
- Join Date
- Feb 2005
- Posts
- 290
Then put -p 80 -j DROP right after initialization of iptablesusers are not allowed to use http request through iptables
- 03-29-2005 #3Just Joined!
- Join Date
- Feb 2005
- Posts
- 35
dear send me the full path
iptables -t ??? --dport ?????
however i drop the request in forwarding policy but after this i was not able to send request on net
help me ...i dont want to use transparent proxy . i want to force users to user proxy server for http and ftp and want to force other request through iptables
- 03-31-2005 #4Linux User
- Join Date
- Feb 2005
- Posts
- 290
Re: problem in iptables
add the following line into your iptables (as early as possible, right after iptable initialization is ok)
Originally Posted by alvi
or in more details:Code:/sbin/iptables -A FORWARD --dport 80 -j DROP
Code:iptables -A FORWARD -i eth2 -o eth0 -p tcp --dports 80,443,8080 -j REJECT --reject-with tcp-reset
will effectively block any forward request to the mentioned port
hope this helps


Reply With Quote