Chinaunix
标题:
Freebsd做Nat,外网ping不通。是怎么回事?
[打印本页]
作者:
Ymir
时间:
2004-08-25 16:57
标题:
Freebsd做Nat,外网ping不通。是怎么回事?
ipnat.conf文件
map xl1 192.168.0.0/24 ->; 222.82.248.134/32 proxy port ftp ftp/tcp
map xl1 192.168.0.0/24 ->; 222.82.248.134/32 portmap tcp/udp auto
map xl1 192.168.0.0/24 ->; 222.82.248.134/32
map xl1 192.168.1.0/24 ->; 222.82.248.134/32 proxy port ftp ftp/tcp
map xl1 192.168.1.0/24 ->; 222.82.248.134/32 portmap tcp/udp auto
map xl1 192.168.1.0/24 ->; 222.82.248.134/32
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