[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 使用 linux 作 firewall



對不起,已經解決了,原因是因為 MTU 的標準值為 1500 bytes,但 pppoe 會在 
TCP/IP 的 header 外加一 8 bytes 的 PPPP-HEADER,這使得一個 PACKET 的大小本來
小於 1500 bytes 可能會變得大於 1500 bytes。而 一些 Cisco Router 發現這異常情
形就會不傳了。
在 Debian 的 peers/dsl-provider 中有一行

pty "pppoe -I eth0 -T 80 -m 1452" 將 MTU 改成 1452 ,則加 8 後仍遠小於
 1500。但我的 dsl-provider 是自己寫的,沒有注意到這件事情。




----- Original Message -----
From: "Cheng-Chang Wu" <chengchangwu@yahoo.com>
To: <debian-chinese-big5@lists.debian.org>
Sent: Monday, January 07, 2002 1:08 PM
Subject: 使用 linux 作 firewall


> 我可以使用 Outlook Express 經由 linux firewall 從 pop.mail.yahoo.com 收
信,
> 卻無法從 smtp.mail.yahoo.com 寄信,請問是什麼原故?
>
> Linux firewall 是以如下命令達成。
>
> iptables -t nat -L POSTROUTING -o ppp0 -j MASQUERADE
>
> 所有的 chains 的預設 policy 都是 ACCEPT。
>
> 我的 ADSL 是動態配置 IP 的。而 Linux kernel 是 2.4.12-586tsc。
>
>
>
>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>
> --
> To UNSUBSCRIBE, email to debian-chinese-big5-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




Reply to: