2006/3/29, Andres Jimenez <gandresin at gmail.com>:
>> 1-create a policy for those servers and define the list of servers
> $FW -N name_to_server_policy
> $FW -A name_to_server_policy -d IP_SERVER1 -j ACCEPT
> $FW -A name_to_server_policy -d IP_SERVER2 -j ACCEPT
> $FW -A name_to_server_policy -d IP_SERVER3 -j ACCEPT
> $FW -A name_to_server_policy -d IP_SERVERn -j ACCEPT
>> 2- define your rules:
> (for example ssh and dns)
> $FW -A FORWARD -p tcp -m multiport --dports 22,53 -j name_to_server_policy
I forgot to mention something important.
This policy accetps only INCOMING packages, so you need another
policy to accept outgoing packages.
You can use different policies for different kinds of
server/workstations, so you just need to add/remove computers from
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!