🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.comp.os.linux
Article #14250

������iptables��������

#14250
From: youngtsin
Date: Fri, 05 Oct 2001 13:05
10 lines
1500 bytes
����֮��������ֻ�ܵõ���̬IP��ַ(��ǰΪ1.2.3.4)��
������ͨ��绰��֪�Է�IP��ַ��
�����Է��������WWW������(192.168.1.1)��

������д�Բ��ԣ�
iptables -F
iptables -t nat -F
iptables -A PREROUTING -i ppp0 -p tcp --dport 80 -j DNAT --to 192.168.1.1
iptables -A POSTROUTING -o eth1 -s 192.168.1.1 -j SNAT --to ppp0
Ϊʲô���Dz�ͨ��
Technical Details
Message-ID: <9pkb7q$8l5$1@mail.cn99.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!4.1.16.34!cpk-news-hub1.bbnplanet.com!news.gtei.net!news.maxwell.syr.edu!news.bentium.com!news.cn99.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: 10b277,bb73bae45e757c97,start
X-Google-Attributes: gid10b277,public
X-Google-ArrivalTime: 2001-10-05 06:06:08 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!4.1.16.34!cpk-news-hub1.bbnplanet.com!news.gtei.net!news.maxwell.syr.edu!news.bentium.com!news.cn99.com!not-for-mail
From: "youngtsin" <youngtsin@21cn.com>
Newsgroups: cn.comp.os.linux
Subject: ������iptables��������
Date: Fri, 5 Oct 2001 21:05:33 +0800
Organization: Bentium Ltd. (CN99)
Lines: 12
Message-ID: <9pkb7q$8l5$1@mail.cn99.com>
NNTP-Posting-Host: 218.21.105.234
X-Trace: mail.cn99.com 1002287162 8869 218.21.105.234 (5 Oct 2001 13:06:02 GMT)
X-Complaints-To: usenet@news.cn99.com
NNTP-Posting-Date: Fri, 5 Oct 2001 13:06:02 +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