Article View: fj.net.ip
Article #297Re: IPfilter(NAT 使用) で ICMP は通せる?
From: Yoshiaki Uchikawa
Date: Sat, 03 Jun 2000 00:00
Date: Sat, 03 Jun 2000 00:00
26 lines
2094 bytes
2094 bytes
うちかわです メーリングリストで以前自分も似たような質問をしたことがあったりして。 kamaga@cc.kumamoto-it.ac.jp (Seiichi Kamaga) writes: > dmesgでの表記の抜粋にて、ipfilterは次のように起動しています。 > IP Filter: loaded into slot 79 > IP Filter: v3.4.3 initialized. Default = pass all, Logging = enabled > > natrulesは次のように設定しています。 > map ed1 192.168.1.0/24 -> 202.16.130.18/32 portmap tcp/udp 10000:65000 これだと確かにicmpは通らないでしょう。tcp/udpだけではなくicmpも mapす る必要があります。私のところの設定はこうです。 map tun0 192.168.1.0/24 -> 0.0.0.0/32 proxy port ftp ftp/tcp map tun0 192.168.1.0/24 -> 0.0.0.0/32 portmap tcp/udp 20000:30000 map tun0 192.168.1.0/24 -> 0.0.0.0/32 順番には意味があります。プロバイダへの接続なので外側は 0.0.0.0/32を指 定しています。 この状態でpingもtracerouteも使えます。 -- yoshiaki@kt.rim.or.jp (う)
Technical Details
Message-ID:
<rwcsnuv5r3i.fsf@netnews.rim.or.jp>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<8h9nef$448$1@news.cc.kumamoto-it.ac.jp>Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS X-Google-Thread: fa805,8e10bd6b24450f9e X-Google-Attributes: gidfa805,public X-Google-Thread: 10636f,8e10bd6b24450f9e X-Google-Attributes: gid10636f,public X-Google-Thread: 10383d,8e10bd6b24450f9e X-Google-Attributes: gid10383d,public From: Yoshiaki Uchikawa <yoshiaki@kt.rim.or.jp> Subject: Re: IPfilter(NAT 使用) で ICMP は通せる? Date: 2000/06/03 Message-ID: <rwcsnuv5r3i.fsf@netnews.rim.or.jp> X-Deja-AN: 630485103 References: <8h9nef$448$1@news.cc.kumamoto-it.ac.jp> Content-Type: text/plain; charset=ISO-2022-JP X-Complaints-To: root@st.rim.or.jp X-Trace: netnews.rim.or.jp 960006327 20446 202.247.162.118 (3 Jun 2000 04:25:27 GMT) Organization: RIMNET InterNetNews site Mime-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") User-Agent: Nana-gnus/6.13.12 SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/20.6 (i386-unknown-freebsdelf5.0) MULE/4.0 (HANANOEN) NNTP-Posting-Date: 3 Jun 2000 04:25:27 GMT Newsgroups: fj.net.ip,fj.net.lan,fj.os.bsd.freebsd