- 论坛徽章:
- 0
|
ssh链接网关freebsd(nat),就我一个nat客户端,ping值很正常,就是无缘无故的断线(服务器也没看到有记录),特别执行需要反馈给终端内容的命令时,如vi /var/log/message,甚至连df都会断掉,top也是,刚连上没几分钟,执行个top就断了。
#ls
Read from remote host gw.fb.com: Connection reset by peer
Connection to gw.fb.com closed.
客户端时ubuntu 7.04 终端
服务器是freebsd 6.2 relrease
网关是我的,用freebsd6.2+pf做的
连接时间控制很长的了,看下面
- pass in quick on $int_if inet proto { tcp, udp } from $int_if:network to any keep state (max 80000 source-track rule, max-src-nodes 800,max-src-states 300,tcp.established 80, tcp.closing 555)
复制代码 |
|