+ Post New Thread
Results 1 to 4 of 4
Windows Thread, Redirect http traffic with DNS server? in Technical; On my network, the modem is plugged into a Linksys router. The router is not used for DHCP. On the ...
  1. #1

    Join Date
    Dec 2006
    Location
    US
    Posts
    300
    Thank Post
    64
    Thanked 17 Times in 16 Posts
    Rep Power
    18

    Redirect http traffic with DNS server?

    On my network, the modem is plugged into a Linksys router. The router is not used for DHCP. On the Windows 2003 domain controller, DHCP and DNS servers are setup and operational.

    I have now setup Dansguardian and Squid. Is there any way I can change something on the DHCP or DNS server to automatically redirect all HTTP traffic to the Dansguardian server?

    I would just configure the proxy server option in IE, but we have lots of students who bring their laptops and having them all have to change the proxy setting would cause too many problems.

    Any ideas? :?:

  2. #2

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,590
    Thank Post
    109
    Thanked 762 Times in 593 Posts
    Rep Power
    180

    Re: Redirect http traffic with DNS server?

    You need to set up Squid as a transparent proxy and set the squid box as your gateway.

  3. #3

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,802
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: Redirect http traffic with DNS server?

    Quote Originally Posted by Ric_
    set the squid box as your gateway.
    You can avoid this by having the box inline as a layer 2 bridge. That way it's transparent to the client/server but still able to intercept traffic.

  4. #4


    tom_newton's Avatar
    Join Date
    Sep 2006
    Location
    Leeds
    Posts
    4,461
    Thank Post
    866
    Thanked 845 Times in 667 Posts
    Rep Power
    195

    Re: Redirect http traffic with DNS server?

    Or, you can set DHCP option 252. This can be done in w2k, but don't ask me how.
    the DHCP server must be authoritative (probably already is)

    You then need a web server (squid box? - our customers use the built in server on Guardian) to serve a proxy.pac file, which is renamed wpad.dat (again, our s/w serves the same file under either name). The option 252 text should point to this file.

    Clients then need to be set to "automatically detect proxy settings", which is the default in IE (iirc).

    Caveats:
    Won't work in firefox, at all.
    Does not force the issue - block port 80 on your firewall

    there was going to be another caveat, but someone phoned and made me forget it. Sorry....

SHARE:
+ Post New Thread

Similar Threads

  1. wierd redirect
    By Scotmk in forum Web Development
    Replies: 7
    Last Post: 21st November 2007, 04:39 PM
  2. Replies: 4
    Last Post: 21st January 2007, 09:48 PM
  3. Monitoring network traffic on our server
    By Kyle in forum Wireless Networks
    Replies: 6
    Last Post: 6th December 2006, 12:47 PM
  4. Is it possible to redirect a share?
    By ChrisH in forum Windows
    Replies: 6
    Last Post: 29th March 2006, 08:16 AM
  5. Getting HTTP traffic from a IP alias (i think)
    By tarquel in forum Wireless Networks
    Replies: 6
    Last Post: 14th November 2005, 07:31 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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