Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
November 14, 2005, 3:44 pm
rate this thread
I need to setup the firewall IPTABLES on CentOS (Readhat).
I wanted to know:
1) can I setup it from the conf file ? I see on the newsgroup that normally
people use the command bar by typing the commands, but I would prefere to do
it on the configuration file.
2) I have 2 ethernet: on eth1 I have the wan, on eth0 the lan. I wanted to
allow to acces FROM the LAN only to a computer with MAC ADRESS xxxxxx. Could
you write me kindly the command I have to put in the conf file ? Or better
if you could post a small example... would be great !!!
They are giving the rules, the rules can run from a command line or put into
a file that is run on boot or when reloaded.
You know, of course this will work only if the computer is on the same
logical network (no other routers), right? Just checking.
Most people that help do not consider themselves a command writing service.
Since there is much more to IPtables (as with all firewalls) than a single
manchine connecting, meaning more rules than what you are asking, I would
suggest you look at some of the GUI front ends to IP tables. I use:
But that might be a bit more complex than you would want to deal with. I
here many people do well with guarddog...
Both of these generate files that will run the command sequences needed to
set up your firewall.
- » Cloud Ace Technologies is offering Implementation Services on Cloud Computing, Cloud Serv...
- — Newest thread in » Linux Security