Find the answer to your Linux question:
Results 1 to 5 of 5
Hi, I have a proxy server configured on RHEL 5. My boss wants me to block Orkut and other social sites to few client machines. I am not sure how ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2009
    Location
    Bangalore, India
    Posts
    18

    How to block a particular website to the clients?


    Hi,
    I have a proxy server configured on RHEL 5. My boss wants me to block Orkut and other social sites to few client machines. I am not sure how to block any particular site from RHEL server.
    In short, please advice me to configure this RHEL server as a websense to block few websites.
    Thanks in advance.

  2. #2
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,429
    Either do it Dirty and change the hosts file. (this can be evaded)
    Or install Squid =)
    New Users, please read this..
    Google first, then ask..

  3. #3
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,672
    You need to setup your network that anyone trying to get to the internet must go through the proxy. This can be done with IPTABLES. Once this is done configure the proxy to reject/block the site you don't want them visiting.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  4. #4
    Just Joined!
    Join Date
    May 2009
    Location
    Bangalore, India
    Posts
    18
    Thank you for the reply..

    Well i have configured Squid already.
    I already applied the the codes in squid.conf but still site is open.
    Code:
    acl blocksites url_regex "/etc/squid/squidblock.acl"
    http_access deny blocksites
    I listed .orkut.com in /etc/squid/squidblock.acl file, but i am still able to access the orkut site.
    Restarted the Squid many times.

  5. #5
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,672
    Did you configure your browser to use the proxy?
    Did you configure your network to block all web traffic and reroute to the proxy except the traffic from the proxy?

    If you setup a proxy and don't tell the browser to use or require all traffic going to the web to use the proxy it will be bypassed.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •