Chinaunix

标题: Freebsd做Nat,外网ping不通。是怎么回事? [打印本页]

作者: Ymir    时间: 2004-08-25 16:57
标题: Freebsd做Nat,外网ping不通。是怎么回事?
ipnat.conf文件

  1. map xl1 192.168.0.0/24 ->; 222.82.248.134/32 proxy port ftp ftp/tcp
  2. map xl1 192.168.0.0/24 ->; 222.82.248.134/32 portmap tcp/udp auto
  3. map xl1 192.168.0.0/24 ->; 222.82.248.134/32
  4. map xl1 192.168.1.0/24 ->; 222.82.248.134/32 proxy port ftp ftp/tcp
  5. map xl1 192.168.1.0/24 ->; 222.82.248.134/32 portmap tcp/udp auto
  6. map xl1 192.168.1.0/24 ->; 222.82.248.134/32
  7. rdr xl1 222.82.248.134/32 port 4000 ->; 192.168.0.2 port 4000
复制代码




a




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2