LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-23-2008, 05:50 PM   #1
HDWorx
LQ Newbie
 
Registered: Jan 2008
Posts: 7

Rep: Reputation: 0
NAT server proxy settingon outside interface


Hi all,

I am running a NAT server to map a range of my inside IP addresses to one outside IP address. To access the web which is outside,I must go through a proxy server.

At the moment, I have to put proxy settings for each client behind the nat server on my local LAN. How can i configure the NAT server to use default proxy settings of my ISP without hacing to configure any proxy settings on all clients inside or behind the NAT server.

thanks
 
Old 02-23-2008, 06:00 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
helps if you tell us what this nat server actually is, but unless you're using a transparent proxy under squid or equivalent then you can't do that to my knowledge. i guess you're actually looking for a transparent proxy configuration, which google can easily provide you details about.
 
Old 02-23-2008, 06:10 PM   #3
HDWorx
LQ Newbie
 
Registered: Jan 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Thank acid_kewpie .. transparent proxy is exactly what im looking for. i found this link that explains how to acoomplish this:
http://www.faqs.org/docs/Linux-mini/...tProxy.html#s6
unfortunately, you cannot do authentication with transparent proxy.
So if i have authentication against my ISP's proxy, i cannot allow transparent access to my clients?
 
Old 02-23-2008, 06:15 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
well you actually have two stages to your requirements. 1) intercept traffic and make it you *your* proxy, and 2) make your proxy go upstream to a parent proxy. not the 2nd part is where your auth comes in, and that part is *not* transparent at all, and i'm sure squid 2.6+ can handle parent authentication with basic auth at the minimum.
 
Old 02-23-2008, 06:17 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
http://www.visolve.com/squid/squid26...php#cache_peer
 
Old 02-23-2008, 06:26 PM   #6
HDWorx
LQ Newbie
 
Registered: Jan 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks acid_kewpie i will check it out and repost asap!
 
  


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
NAT and Proxy in one machine!!! vishnu_sreekumar Linux - Networking 2 01-05-2007 04:56 AM
Help with multiple interface routing/NAT camealy Linux - Networking 6 08-10-2005 09:35 AM
Proxy behind NAT Tihi Linux - Networking 1 03-11-2005 04:01 PM
proxy server thru nat gateway. tanmay_79 Linux - General 1 09-10-2001 08:45 AM
Proxy&NAT Wazza Linux - Networking 2 07-15-2001 12:07 AM


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