[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


-- 
To UNSUBSCRIBE, email to debian-chinese-big5-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
| This message was re-posted from debian-chinese-big5@lists.debian.org
| and converted from big5 to gb2312 by an automatic gateway.



Reply to: