LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-07-2017, 02:59 AM   #1
nitinm
Member
 
Registered: Jul 2016
Posts: 31

Rep: Reputation: Disabled
Smile Restricting Internet access


Hey..

Is there any open source server-client software for cross platform through which i can block internet access and switch it ON back.

Thanks
 
Old 04-07-2017, 03:17 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,478

Rep: Reputation: 7238Reputation: 7238Reputation: 7238Reputation: 7238Reputation: 7238Reputation: 7238Reputation: 7238Reputation: 7238Reputation: 7238Reputation: 7238Reputation: 7238
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?

http://www.linuxquestions.org/questi...gs-4175464257/

Last edited by pan64; 04-07-2017 at 03:19 AM.
 
Old 04-07-2017, 03:23 AM   #3
nitinm
Member
 
Registered: Jul 2016
Posts: 31

Original Poster
Rep: Reputation: Disabled
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.
 
Old 04-07-2017, 03:37 AM   #4
ericson007
Member
 
Registered: Sep 2004
Location: Japan
Distribution: CentOS 7.1
Posts: 735

Rep: Reputation: 154Reputation: 154
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 03:39 AM.
 
Old 04-07-2017, 04:55 AM   #5
nitinm
Member
 
Registered: Jul 2016
Posts: 31

Original Poster
Rep: Reputation: Disabled
Thanks for your replies guys.

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???
 
Old 04-07-2017, 05:09 AM   #6
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,478

Rep: Reputation: 7238Reputation: 7238Reputation: 7238Reputation: 7238Reputation: 7238Reputation: 7238Reputation: 7238Reputation: 7238Reputation: 7238Reputation: 7238Reputation: 7238
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
 
1 members found this post helpful.
Old 04-07-2017, 05:32 AM   #7
nitinm
Member
 
Registered: Jul 2016
Posts: 31

Original Poster
Rep: Reputation: Disabled
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.
 
Old 04-07-2017, 07:01 AM   #8
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,478

Rep: Reputation: 7238Reputation: 7238Reputation: 7238Reputation: 7238Reputation: 7238Reputation: 7238Reputation: 7238Reputation: 7238Reputation: 7238Reputation: 7238Reputation: 7238
you may try two different softwares, one for linux - that should be easy (and obviously free) and one for windows.
 
Old 04-07-2017, 07:28 AM   #9
nitinm
Member
 
Registered: Jul 2016
Posts: 31

Original Poster
Rep: Reputation: Disabled
I will search for some software as you said, but do you have any suggestions..?
 
Old 04-07-2017, 07:52 AM   #10
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,478

Rep: Reputation: 7238Reputation: 7238Reputation: 7238Reputation: 7238Reputation: 7238Reputation: 7238Reputation: 7238Reputation: 7238Reputation: 7238Reputation: 7238Reputation: 7238
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.
 
Old 04-08-2017, 12:48 PM   #11
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,452

Rep: Reputation: 7930Reputation: 7930Reputation: 7930Reputation: 7930Reputation: 7930Reputation: 7930Reputation: 7930Reputation: 7930Reputation: 7930Reputation: 7930Reputation: 7930
Quote:
Originally Posted by nitinm View Post
I will search for some software as you said, but do you have any suggestions..?
Your other thread for a very similar issue has some:
http://www.linuxquestions.org/questi...es-4175599170/
 
Old 04-18-2017, 04:21 PM   #12
MikeDeltaBrown
Member
 
Registered: Apr 2013
Location: Arlington, WA
Distribution: Slackware
Posts: 95

Rep: Reputation: 10
You can do this simply and for free: don't assign a gateway address.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Restricting internet access to one website. nappy501 Linux - Software 1 11-20-2015 11:13 PM
Restricting thin client to access internet himalayan Linux - Server 4 06-11-2014 06:45 AM
restricting internet access with squid... mia_tech Linux - Newbie 3 01-02-2008 04:19 PM
Restricting access to Internet cooljai Linux - Networking 1 05-16-2007 06:35 AM
restricting internet access bobbens Linux - Networking 2 02-08-2005 08:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration