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.
it depends on what do you really want to block.
1. a browser or some other app should not reach the net.
2. a VM, a docker container...
3. a host
4. a phone, a smart TV, another device
5. whatever...
it depends on the router you have too: probably you need to set up a firewall rule only, but who knows what do you really want?
Actually we have a computer lab and want to block a range of hosts which are installed with both Linux as well as windows (Dual boot). We do have firewall and every now and then we have to request the system admin to do those stuffs which is a lengthy procedure.That is why i am looking out for a simple solution.
If they dual boot the ip address can be different. You need to set up the systems so users cannot configure interfaces and block the mac address of individual machines.
That will be lengthy. Best way. Put those machines all on the same subnet and configure the router to block internet on that subnet.
Either way it will have to be allowed manually etc.
Otherwise stuff like pfsense can restrict access based on os and times of use. Maybe that could be an alternative. But if you have to pay someone to set it up etc and it takes time... i do not see a easy and clear way out.
Last edited by ericson007; 04-07-2017 at 02:39 AM.
All the systems are having static IPs. Every system with dual boot is having the same IP for both the OS htat is Ubuntu as well as Windows. I don't want to install a firewall instead would like to use a open source software which will have server and client installations for both Linux as well as Windows. I have italc but it doesn't restrict internet access it only monitors the Host pcs. Any idea???
so you want to manage your hosts (running either linux or windows) from a remote host. if I understand it correctly.
I'm afraid you will not be able to find a free software which can handle both of them (so it can configure firewall to disable/enable access on windows and linux). But you can have an additional router/gateway which can be configured/managed easily
Yes you understood it correctly. I am aware of some software that can do this but they are really very expensive. That is the reason i am looking for open source anyways thanks for your reply.
for linux, if you want to switch on/off internet access only, I would write a script myself to do that. It looks like a simple command host by host.
on windows I have no idea.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.