Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I already have Linux Enterprise 5 system installed with some server packages such as Webmin, Active Directory, Web Server which also act as Internet gateway. Now I want to add firewall functionality to block clients ip accessing internet. Can anyone help and give me the tutorial?
I already have Linux Enterprise 5 system installed with some server packages such as Webmin, Active Directory, Web Server which also act as Internet gateway.
You installed active directory on RHEL? OK.
Quote:
Now I want to add firewall functionality to block clients ip accessing internet.
May not be possible, depending on your network structure, which you haven't mentioned. Shouldn't be a problem to you, though.
For iptables, there is a lot of material online; for a manual try this.
The network structure is that there is only a way internet traffic go through is the server. So if the server can be use as firewall, that would be enough to block traffic. So i'm not talking about normal firewall which just protect the server.
Today, I find out that the server have iptables installed already. It use Webmin as control panel. Now I want to know about how to block outgoing traffic using Webmin - Linux Firewall. Can anyone give me an example on how to block an IP of a local computer to access internet? I see too many options in Webmin - Linux Firewall. The server has two interfaces, one is WAN, one is LAN.
Eric, I read topic you gave me. I'm not sure if they talk about blocking an ip to access to local network and server. My network structure has two interfaces but the topic does not include any interface. I don't want block an ip access LAN(ether0) but I want traffic to stop when they bound outside to internet via WAN(ether1). Hope you can understand my writing.
But It seem that iptables command did not take effect. I think webmin protect iptables from accessing. Can anyone just tell me how to configure using webmin web interface? Anyone ever use Webmin?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.