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 11-20-2003, 08:29 PM   #1
pembo13
Member
 
Registered: May 2003
Location: Caribbean
Distribution: Fedora Core2
Posts: 403

Rep: Reputation: 30
Web proxing question


Hello,

I'm curious as to how M$ Internet Explorer's 'Automatically detect settings' work and wether or not Squid can be setup to be detected in that fashion.

FYI...I run Squid concurrently with Iptables as a router...this is so as to gain some speed via Squid's cache.

Thank you
 
Old 11-21-2003, 05:32 AM   #2
Mrcdm
Member
 
Registered: Apr 2003
Location: Australia
Distribution: Debian 3, 31r0, 4, slackware, DSL, RH8.0/7, MDK9/10, et al. Vista is cute but not Linux - I tried
Posts: 70

Rep: Reputation: 15
Hey pembo, curious to find this myself. I did lot's of searching and came up with little so..

Which part of the Carrib are you from? I'm Jamaican but living in Oz since 1979.
 
Old 11-21-2003, 02:31 PM   #3
pembo13
Member
 
Registered: May 2003
Location: Caribbean
Distribution: Fedora Core2
Posts: 403

Original Poster
Rep: Reputation: 30
I am from Dominica aka 'The Nature Isle'.

Where is Oz?

Is there any proof that this M$ Internet Explorer feature ever detects proxies at all?

Peace
 
Old 11-23-2003, 07:39 PM   #4
Mrcdm
Member
 
Registered: Apr 2003
Location: Australia
Distribution: Debian 3, 31r0, 4, slackware, DSL, RH8.0/7, MDK9/10, et al. Vista is cute but not Linux - I tried
Posts: 70

Rep: Reputation: 15
Australia.
I have never seen it working full stop but that doesn't mean anything.

I think it just tries to contact Microsoft using a variety of methods but again not really sure. Would love to find out though
 
Old 11-24-2003, 12:23 AM   #5
chrisfirestar
Member
 
Registered: Sep 2003
Location: Adelaide, Australia
Distribution: Fedora/RH
Posts: 231

Rep: Reputation: 30
I dont really know HOW it works but if you are wanting to ensure that everything is passed through the proxy your best bet is to Forward requests on Port 80 to port 3128

eg...

# Redirect Traffic for Port 80 to Squid Proxy Server:3128
$IPTABLES -t nat -A PREROUTING -i $INSIDE -p tcp --dport 80 -j REDIRECT --to-port 3128

this will make everything connecting on port 80 go to 3128 (default squid port)
 
Old 11-24-2003, 02:24 AM   #6
Mrcdm
Member
 
Registered: Apr 2003
Location: Australia
Distribution: Debian 3, 31r0, 4, slackware, DSL, RH8.0/7, MDK9/10, et al. Vista is cute but not Linux - I tried
Posts: 70

Rep: Reputation: 15
Cool. Thanks for the info Chris. Will put that into my archives for next time. I've been manually configuring the client machines with the proxy info so this could be usefull. Of course if you want to run an internal server at that IP you would need to modify that rule but it's all good.
 
Old 11-24-2003, 02:30 AM   #7
chrisfirestar
Member
 
Registered: Sep 2003
Location: Adelaide, Australia
Distribution: Fedora/RH
Posts: 231

Rep: Reputation: 30
no probs

ya if u wanted an internal proxy that would reside off of the gateway you would need to Forward to that computer too as well as the port.. not sure if this would create problems... dont think it should though hmmm

i think something like...
IPTABLES=/sbin/iptables
INSIDE=eth1
PROXYSERVER="192.168.1.2"

$IPTABLES -t nat -A PREROUTING -i $INSIDE -p tcp -m tcp --dport 80 -j DNAT --to $PROXYSERVER:3128

etc etc

then in the iptables make sure the proxy has the correct permissions to get back through??? nto sure
 
Old 11-24-2003, 09:47 AM   #8
pembo13
Member
 
Registered: May 2003
Location: Caribbean
Distribution: Fedora Core2
Posts: 403

Original Poster
Rep: Reputation: 30
Hello chrisfirestar,

I'm aware of that transparent prooxing option....just was curious about things...right now I have my proxy clients being configured via a .pac file.

But thanks for the advice.
 
  


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
Using Transparent Proxing with Apache Proxy server adityanag Linux - Networking 1 01-02-2005 10:48 AM
Web Script Question kemplej Linux - Security 5 10-26-2004 07:55 PM
Web site Question Gerardoj General 4 10-22-2003 04:40 PM
Web Broweser Question ev583 Linux - Newbie 10 02-07-2002 08:50 AM
Web browsing question Avatar2U Linux - General 1 01-16-2002 04:46 AM

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

All times are GMT -5. The time now is 06:10 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