- 论坛徽章:
- 0
|
用Freebsd做代理服务器怎么比windows都慢?
换了两块3com的网卡,但是外网又ping不通了
看看我的rc.conf文件和ipnat.conf文件有没有错误。
# -- sysinstall generated deltas -- # Fri Dec 24 21:01:37 2004
# Created: Fri Dec 24 21:01:37 2004
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
ifconfig_xl1="inet 222.82.248.134 netmask 255.255.255.0"
ifconfig_xl0="inet 192.168.0.253 netmask 255.255.255.0"
defaultrouter="192.168.0.1"
hostname="uaspx.com"
inetd_enable="YES"
kern_securelevel_enable="NO"
linux_enable="YES"
nfs_reserved_port_only="YES"
sendmail_enable="NONE"
sshd_enable="YES"
usbd_enable="YES"
gateway_enable="YES"
ipnat_enable="YES"
ipfilter_enable="YES"
ipfilter_program="/sbin/ipf"
ipfilter_rules="/etc/ipf.rules"
# This file now contains just the overrides from /etc/defaults/rc.conf.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# Enable network daemons for user convenience.
# Created: Sat Dec 25 15:17:19 2004
# -- sysinstall generated deltas -- # Sat Dec 25 15:17:19 2004
saver="logo"
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 |
|