Should I do anything special to servers behind a NAT? For example, connections to $IP on port 81 are redirected to $INTERNAL_IP on 80, and it gives back data that indicates the real IP instead of 81...
--- Satya satyap@satya.virtualave.net wrote:
Should I do anything special to servers behind a NAT? For example, connections to $IP on port 81 are redirected to $INTERNAL_IP on 80, and it gives back data that indicates the real IP instead of 81...
Rewrite the header to reflect $IP::81. You don't want your NAT'ed systems (which in all probability have non-routable private addresses) to show up on the Internet.
Krishnan
__________________________________________________ Terrorist Attacks on U.S. - How can you help? Donate cash, emergency relief information http://dailynews.yahoo.com/fc/US/Emergency_Information/
On Sep 20, 2001 at 02:59, S. Krishnan wrote:
Rewrite the header to reflect $IP::81. You don't want
How? ipchains? Could someone give me the rule? There are enough things wrong with this network that I won't know if the right rule is inserted.
U'll have to use ipfwd ipmasq....(this I have read but am not using) ip chains would allow you to only another port on the same computer.(this I am using)
rahil ----- Original Message ----- From: "Satya" satyap@satya.virtualave.net To: linuxers@mm.ilug-bom.org.in Sent: Wednesday, September 19, 2001 10:33 PM Subject: [ILUG-BOM] Servers behind a NAT
Should I do anything special to servers behind a NAT? For example, connections to $IP on port 81 are redirected to $INTERNAL_IP on 80, and it gives back data that indicates the real IP instead of 81...
-- Satya. URL:http://satya.virtualave.net/ As long as I can remember, I've had amnesia.
--- Satya satyap@satya.virtualave.net wrote:
On Sep 20, 2001 at 02:59, S. Krishnan wrote:
Rewrite the header to reflect $IP::81. You don't
want
How? ipchains? Could someone give me the rule? There are enough things wrong with this network that I won't know if the right rule is inserted.
Masquerading. I'll check the right rules up and post it direct to you on Sunday - right now my boss is looking over my shoulder!
Rgds,
Krishnan
__________________________________________________ Terrorist Attacks on U.S. - How can you help? Donate cash, emergency relief information http://dailynews.yahoo.com/fc/US/Emergency_Information/