LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-27-2006, 01:02 PM   #1
shipon_97
Member
 
Registered: Oct 2005
Location: Bangladesh
Posts: 484

Rep: Reputation: 30
Block accessing inernet directly how to


Friends ,

I have a Internet Gateway server (REdhat Enterprise 4) Which IP is Suppose
192.168.10.1 . Now in this Network i have two clients , which IP is 192.168.10.2
and 192.168.1.3 . I have a proxy server in this Machine ,too .

In this condition my clients use internet via proxy and without using proxy.But
I want they only get access into internet via proxy . i want the condition so that
They cannot access internet directly.In this condition what should i need to do .

OR, How i can make a situation so that my client get access into internet only
using via proxy, and cannot access internet Directly ?plz inform me.........

thx.............
 
Old 03-27-2006, 03:16 PM   #2
pablob
Member
 
Registered: Apr 2003
Location: Madrid
Distribution: RHEL, Kubuntu, Solaris, TRU64
Posts: 382

Rep: Reputation: 31
OK.

So, what you want is to stop traffic going to ports 80 & 443 (http & https) and redirect it to a proxy software ( Squid ). You redirect the traffic with an IP Filter software, available on almost every modern distro, and setting a rule for the redirection. (Search for ipchains, ipfilter & netfilter docs. - Ipchains is older.). With the ipfilter you also stop the rest of the traffic. That's how a firewall works. You'll have to deal with your distro's firewall graphic interface.

For that to take effect, youˇll have to set the server with the IP filter and proxy software as default gateway on the clients.

Last edited by pablob; 03-27-2006 at 03:19 PM.
 
  


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
Is there a way to block people from accessing my site if they came from a certin url? abefroman Linux - Security 5 02-14-2006 12:16 AM
cannot connect to the inernet with kppp in fc2 shams Fedora 1 10-15-2004 10:58 PM
inernet connection nathan15243 Linux - Newbie 25 11-25-2003 08:04 PM
SQUID:How can I block my LAN clients accessing Internet mwj Linux - Networking 1 10-27-2003 05:01 AM
i want good inernet speed tarak4u Linux - Networking 3 06-04-2002 04:08 AM


All times are GMT -5. The time now is 01:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration