----- Original Message ----- From: "Joey S. Eisma" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, January 25, 2007 7:48 AM
Subject: [plug] gateway and proxy


hi!

when i want to enable internet connection to a networked pc, i have two options, set up a gateway or a proxy.

1. what are the differences between the two? what are the advantages of one over the other?

in networking technology... historically... a gateway was called instead of router during that time and that term is used throughout much of the TCP/IP literature... today.. the term gateway is used for an application gateway.... such as a process that connects two different protocol suites (say TCP/IP and IBM's SNA) for one particular application (eg. email)... the definition of a gateway or router so to speak is capable to route or forward incoming packets from other network to another network based on its routing table... the term default gateway is the last resort to send or forward packets to gateway's ip address... with this... router is at layer 3 while application gateway is at layer 7 of the OSI layers...

proxy in general term... the authority to act for another.... in networking... client connected to a proxy server to ask for a particular service (eg. http, ftp, smtp, pop, sip, etc) in behalf of the client.....strictly speaking.... proxy violated the end-to-end communication and so as NAT... proxy may cache the same requested data to improve response time of the requesting client... proxy belongs to layer 7 of the OSI layers..

the difference between the two is their positioning at the OSI layers....

the advantage of one is the disadvantage of the other.... but it is the best of both worlds if you use the two...

2. if i use a proxy, i may configure squid, what about a gateway? what software do i need?

take note that squid can proxy only the following protocols.... http, ftp and ssl...

if your router would like to implement NAT... then use iptables ....

3. which is more secure?

the more protocols that you used to communicate to the outside world.... the more you are vulnerable...

4. in this setup, the gateway is actually NAT?

yes if your local network is using private ip address and no if your local network is using public ip address... although technically speaking you can still NAT a public ip address for some reasons...

fooler.
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to