Article View: cn.comp.os.linux
Article #14244���ת������internet���������
From: youngtsin
Date: Thu, 04 Oct 2001 04:35
Date: Thu, 04 Oct 2001 04:35
21 lines
2099 bytes
2099 bytes
������WEB������192.168.1.1 ���Ϊeth1 192.168.1.254 eth0 Ϊ��̬��ַ�����赱ǰΪ1.2.3.4�� ��ԭ����ipchains -A forward -j MASQ -s 192.168.1.0/24 �����Ѿ��ܷ���internet�ˣ� ��������internet�û�����http://1.2.3.4���ܷ��������WEB�������� ���Ȳ��۶�̬��ַ����DNS�����Ƿ������壩 �Ұ�ij����˵�������¼������ ipchains -A input -p tcp -s 0.0.0.0/0 1024: -d 192.168.1.1/32 www -i eth0 -j ACCEPT ipchains -A input -p udp -s 0.0.0.0/0 1024: -d 192.168.1.1/32 www -i eth0 -j ACCEPT ipchains -A input -p tcp -s 192.168.1.1/32 www -d 0.0.0.0/0 1024: -i eth0 -j ACCEPT ipchains -A input -p udp -s 192.168.1.1/32 www -d 0.0.0.0/0 1024: -i eth0 -j ACCEPT ���Ǵ�internet��������WEB��δ�ɹ��� �������Ƿ��������©��һ����
Technical Details
Message-ID:
<9pgovq$r3l$1@mail.cn99.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!sfo2-feed1.news.digex.net!intermedia!news-out.spamkiller.net!propagator-la!news-in-la.newsfeeds.com!news-in.superfeed.net!news.cn99.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB X-Google-Thread: 10b277,52a0e8f6c3e69fef,start X-Google-Attributes: gid10b277,public X-Google-ArrivalTime: 2001-10-03 21:36:16 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!sfo2-feed1.news.digex.net!intermedia!news-out.spamkiller.net!propagator-la!news-in-la.newsfeeds.com!news-in.superfeed.net!news.cn99.com!not-for-mail From: "youngtsin" <youngtsin@21cn.com> Newsgroups: cn.comp.os.linux Subject: ���ת������internet��������� Date: Thu, 4 Oct 2001 12:35:39 +0800 Organization: Bentium Ltd. (CN99) Lines: 24 Message-ID: <9pgovq$r3l$1@mail.cn99.com> NNTP-Posting-Host: 218.21.105.100 X-Trace: mail.cn99.com 1002170172 27765 218.21.105.100 (4 Oct 2001 04:36:12 GMT) X-Complaints-To: usenet@news.cn99.com NNTP-Posting-Date: Thu, 4 Oct 2001 04:36:12 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300