LinuxQuestions.org
Review your favorite Linux distribution.
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 06-23-2008, 12:14 AM   #1
soumalya
Member
 
Registered: Nov 2006
Posts: 260

Rep: Reputation: 31
proxy and nat difference


Sir

i am confused about proxy and nat. i cant understand the difference b/w nay and proxy. where should i use proxy and why and where should i use configure nat and why?

guide me pls

thanks in advance
 
Old 06-23-2008, 01:58 AM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Generally speaking, it goes like this: With a NAT router, LAN clients' connections are forwarded directly to the WAN servers. With a proxy server, LAN clients connect to the proxy server, and the proxy server starts the connections to the WAN servers on behalf of the LAN clients. You would probably use a proxy if you want more control over the application layer, and a NAT router if you want to focus on the network layer. Lots of people use both simultaneously, such as in cases where you want everything to be NATed except Web traffic. My explanation is indeed oversimplified, and I recommend you check-out the links I provided to get the whole story.

Last edited by win32sux; 06-23-2008 at 02:00 AM.
 
Old 06-24-2008, 12:15 AM   #3
soumalya
Member
 
Registered: Nov 2006
Posts: 260

Original Poster
Rep: Reputation: 31
thanks for ur reply


is there any technical or functional or security difference b/w nat and proxy?
 
Old 06-24-2008, 03:55 AM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by soumalya View Post
is there any technical or functional or security difference b/w nat and proxy?
Technical: The links I provided clearly explain the technical differences. Functional (example): Some client applications will work with NAT routers but not with proxy servers. Security (example): With a proxy server you can prevent clients from downloading EXE files and looking at adult websites - with a NAT router you can't.

Last edited by win32sux; 06-24-2008 at 03:56 AM.
 
Old 06-24-2008, 11:41 PM   #5
soumalya
Member
 
Registered: Nov 2006
Posts: 260

Original Poster
Rep: Reputation: 31
thanks again

but where is the link?
 
Old 06-24-2008, 11:54 PM   #6
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by soumalya View Post
thanks again
You're welcome.

Quote:
but where is the link?
In the second post of this thread.
 
  


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
Difference between NAT and NO NAT plisken Linux - Networking 1 01-10-2008 11:53 AM
Proxy behind NAT Tihi Linux - Networking 1 03-11-2005 03:01 PM
NAT and IP Masqurade Difference? ilnli Linux - Networking 2 09-26-2004 02:18 AM
difference (NAT/Masq) slano Linux - Networking 1 01-11-2004 04:48 PM
What's the difference between Linux-NAT and Sygate-NAT? yuzuohong Linux - Networking 0 08-07-2002 04:07 AM

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

All times are GMT -5. The time now is 06:22 AM.

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