LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 03-15-2006, 07:26 PM   #1
vathna
LQ Newbie
 
Registered: Jan 2006
Posts: 9

Rep: Reputation: 0
How to enable and disable client brwse internet


Dear all,

Please tell me. Is there any way to block or allow client browsing internet by using code like php?

I mean when we want to block some computer on the the network we just clik allow or block on the the website that we write code.

so when we want to block some computer by ip address we just go to web address like http://localhost/blockclinet.php then add IP Address and click block or allow Button.

Best regards,
 
Old 03-15-2006, 08:27 PM   #2
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
Are you using a linux box as a router? If so you would block any given machine using iptables.
 
Old 03-21-2006, 10:28 PM   #3
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Something like Firestarter, Guidedog, or even Webmin may give you the GUI point-and-click capability you want (if you have access to the upstream router or gateway).
 
Old 03-24-2006, 03:16 PM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
It isn't clear exactly what you want. Do you want certain sites banned from browsing your website, or do you want clients on your local network to be disallowed from accessing off-site internet hosts?

If the former, and if your server is Apache, I believe there are a couple of ways to do that.

If the latter, you would be best to have a web server running on your firewall, and some CGI or PHP code to add/delete iptables rules. There are a few security issues that you would want to attend carefully to if using this approach.

--- rod.
 
  


Reply



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
Runlevel Editor - Cannot Enable/Disable caesium5 SUSE / openSUSE 1 10-06-2005 05:35 AM
Why do I need to be Superuser to enable or disable printers? LostInFog Linux - General 4 02-18-2005 12:31 PM
enable disable Tuttle General 0 01-08-2005 04:21 PM
disable ethernet, enable wireless Ryan450 Linux - Wireless Networking 1 09-17-2004 04:53 PM
how to disable sendmail and enable postfix? JM_Fraser Linux - Software 6 11-28-2003 07:15 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 04:47 AM.

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