Please help me to use IPTABLES
I want to block yahoo messenger,rediffbol,msn messenger, and another popular messenger. I searched for its ports. But they are using wide range of ports. We are using private ip. We have to forward all queries (like HTTP, FTP, SMTP, etc) to another machines. How can we do this. I have to block all email queries from our office to yahoo rediff etc. but allow our mail server. -== Mode Note: Moved from another thread. Please don't try hijacking threads! ==- |
MarleyGPN, glad you got it working.
antonysemion, welcome to LQ! Please do not post questions not relevant to the thread. You should start your own thread to ask a question or find one that relates specifically to it. To answer your question, you should set a restrictive iptables ruleset that blocks all traffic except for the ones you want to use. Iptables created its policies in the order you enter them, so would need to do something like this. Code:
export LAN=eth0 #choose correct net device here regards, ...drkstr |
All times are GMT -5. The time now is 12:17 AM. |