IPtables
Do we have any separate mailing list for IPTables rules in Linux machines?
-Sekar |
What do you mean by any separate mailing lists? Mailing lists for what? I don't fully understand your question.....
|
Iptables
I want to add the IPtables rules to block the requests other than particular IP address/subnet.
What are the steps i have to do in a fresh linux box? Thanks in Advance, Sekar |
Read some tutorials on iptables for a start.
LQ isn't the place to go for step by step guides. We are happy to help you if you are experiencing a specific problem in something you are trying to do, but we wont do it for you. There are plenty of other sites out there that have good information on what you are trying to do, you just have to google for them.. I would recommend you start with the link below, and the man pages for iptables. Since you have provided very little information about your query, this is a general guide to iptables, how it works, and how to use it. http://www.linuxhomenetworking.com/w...Using_iptables |
Hi,
Thanks for the link. I have prepared the iptables like to below. I want to block the requests other than particular IP/subnets. iptables -A INPUT -i eth0 -s x.x.x.x/24 -j ACCEPT iptables -A INPUT -i eth0 -j DROP I have 3 more interfaces on the same server. Do i need to give these rules for each interfaces separately? Thanks in Advacne, Sekar |
Always best to treat each interface separately.
|
hey,
just avoid -i option, it will be effective in all interfaces .. and what do you mean by request ? You can block protocols by -p option ( eg iptables -A INPUT -p tcp -j DROP ).. |
Thank you all
|
All times are GMT -5. The time now is 07:59 PM. |