Article View: cn.comp.os.linux
Article #14331Re: DNAT �� SNAT ����
From: madog
Date: Tue, 11 Sep 2001 06:20
Date: Tue, 11 Sep 2001 06:20
17 lines
1664 bytes
1664 bytes
"jkwoocn" <jkwoocn@yahoo.com> wrote in message news:9nk7a9$35s$1@mail.cn99.com... > ������A��IPΪ192.168.1.1 > > ���ڲ���--destination-port�е�destinationָ��������A����Router2��������B? > > ʹ������������������ > iptables -A PREROUTING -t nat -i eth0 -s 192.168.1.1 -d 128.1.1.2 \ > -p tcp --dport 23 -j DNAT --to 128.2.2.3 ��һ�����: iptables -I PREROUTING -t nat -p tcp --dport 23 -j DNAT --to-destination 128.2.2.3:23 -- http://madogcc.myip.org news://madogcc.myip.org
Technical Details
Message-ID:
<9nkafh$mti$1@madogcc.myip.org>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!news.cn99.com!madogcc.myip.org!not-for-mailReferences:
<9njuf6$q9b$1@mail.cn99.com> <9nk07i$l63$1@madogcc.myip.org> <9nk7a9$35s$1@mail.cn99.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10b277,4fc98b59a1330052 X-Google-Attributes: gid10b277,public X-Google-ArrivalTime: 2001-09-10 23:25:21 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!news.cn99.com!madogcc.myip.org!not-for-mail From: "madog" <no@no.no> Newsgroups: cn.comp.os.linux Subject: Re: DNAT �� SNAT ���� Date: Tue, 11 Sep 2001 14:20:36 +0800 Organization: madogcc.myip.org Lines: 19 Message-ID: <9nkafh$mti$1@madogcc.myip.org> References: <9njuf6$q9b$1@mail.cn99.com> <9nk07i$l63$1@madogcc.myip.org> <9nk7a9$35s$1@mail.cn99.com> NNTP-Posting-Host: 61.141.206.203 X-Trace: mail.cn99.com 1000189518 5762 61.141.206.203 (11 Sep 2001 06:25:18 GMT) X-Complaints-To: usenet@news.cn99.com NNTP-Posting-Date: Tue, 11 Sep 2001 06:25:18 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000