[NTLUG:Discuss] how is the packet been "seen" by servers?

m m llliiilll at hotmail.com
Fri Jun 14 12:44:04 CDT 2002


anyone can help?

>From: "m m" <llliiilll at hotmail.com>
>Reply-To: discuss at ntlug.org
>To: discuss at ntlug.org
>Subject: [NTLUG:Discuss] how is the packet been "seen" by servers?
>Date: Wed, 12 Jun 2002 19:50:32 +0000
>
>Hi All:
>
>here is an assumption:
>
>internet
>  |
>eth0 public ip 1.2.3.4
>eth1 private ip 192.168.0.1
>  |
>  |- eth0 192.168.0.2
>  |- eth0 192.168.0.3
>
>have rules:
>iptables -t nat -A PREROUTING -i eth0 -d 192.168.0.1 -dport 80 -j DNAT --to
>192.169.0.2
>iptables -t nat -A PREROUTING -i eth0 -d 192.168.0.1 -dport 8800 -j DNAT
>--to 192.169.0.3
>
>a query/request from the internet:
>
>1. what does the (web) server 192.168.0.1 "see"? does it see the packet
>address as 1.2.3.4:80 or other internet ip?
>
>2. what does the (web) server 192.168.0.2 "see"? does it see the packet
>address as 1.2.3.4:80 or 192.168.0.1:80 other internet ip?
>
>3. what does the (web) server 192.168.0.3 "see"? does it see the packet
>address as 1.2.3.4:8800 or 192.168.0.1:8800 other internet ip?
>
>Thanks in advance.
>
>
>
>
>
>
>
>a request packet from internet
>
>
>
>
>
>_________________________________________________________________
>Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
>
>_______________________________________________
>http://www.ntlug.org/mailman/listinfo/discuss




_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.





More information about the Discuss mailing list