LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 04: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, 05:00 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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, 05: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, 05:15 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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, 05:17 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
http://www.visolve.com/squid/squid26...php#cache_peer
 
Old 02-23-2008, 05: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



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

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

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