snaile 发表于 2005-8-3 17:21:41

FreeBSD5.4 安装CS16server 效果

我的机器P3 550 64M 10G 硬盘,FreeBSD5.4 ,安装CS16server,在局域网内,能同时连接几个用户,效果会怎么样?

windgao 发表于 2005-8-4 07:55:53

配置太低了。只能带几个人。大楷10个人左右吧。。

windgao 发表于 2005-8-4 07:59:50

match_emulate
options ipv6
options NFS
options NFS-ROOT
options MSDOSFS
options VCONSOLE
options VSERCONFING
options VISUAL_VSERCONFIG
options KTRACE
options KBD_KBD_INSTALL_CDEV
options AHC_REG_PRETTY_PRINT
options SCSI_DELAY=1500
以上去掉
options i386
cpu i686cpu
ident GENERIC
maxuser 0
----------
derice pf
device pflog
device pfsync
--------------
options ALTQ
options ALTQ_CBQ
options ALTQ_RED
options ALTQ_RIO
options ALTQ_HFSC
options ALTQ-PRIQ
-----------------
options PANIC_REBOOT_WAIT_TIME=0
options DEVICE_POLLING
options HZ=2000
options IPSTEALTH
options TCP_DROP_SYNFIN
-----------------------
options QUOTA
--------------------------------
nameserver 202.96.134.133
nameserver 202.96.128.68
--------------------------------
/etc/fstab
/usr.rm.userquota,groupquota
--------------------------------
/etc/rc.conf
gateway_enable="YES"
kern_securelevel_enable="YES"
kern_securelevel="2"
inetd_enable="YES"
inetd_flags="-l -R 1024"
syslogd_enable="YES"
syslogd_flogs="-s -s"
background_dhclient="YES"
keyrate="fast"
sendmail_enable="NONE"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
snedmail_msp_queue_enable="NO"
clear_tmp_enable="YES"
fsck_y_enable="YES"
update_motd="NO"
tcp_drop_redirect="YES"
icmp_log_redirect="YES"
tcp_drop_synfin="YES"
log_in_vain="YES"
accounting_enable="YES"
linux_enable="YES"
ssh_enable="YES"
pf_enable="YES"
pf_rules="/etc/pf.conf"
pf_flags=""
pf_enable="YES"
pflog_logfile="/var/log/pflog"
enable_quota="YES"
----------------------------------
net.inet.ip.forwarding=1
net.inet.ip.fastforwarding=1
net.inet.tcp.drop_synfin=1
net.inet.tcp.sendspace=65536
net.inet.tcp.recvspace=65536
net.udp.sendspace=65535
net.local.stream.sendspace=65535
net.inet.tcp.rfc1323=1
net.inet.tcp.rfc1324=1
net.inet.tcp.rfc3042=1
net.inet.tcp.rfc3390=1
kern.ipc.maxsockbuf=2097152
kern.maxfiles=65536
kern.maxfilesperproc=32768
kern.polling.enable=1
kern.ipc.somaxconn=2048
kern.ipc.nmbclusters=32768
net.inet.icmp.icmplim=100
net.inet.icmplim_output=0
net.inet.tcp.drop_synfin=1
net.inet.tcp.msl=7500
net.inet.tcp.syncookies=1
net.inet.udp.blackhole=2
net.inet.raw.maxdgrom=65536
net.inet.raw.recvspace=65536
-------------------------------
pf.conf
wan_ip="192.168.0.1"
lan_ip="192.168.1.2"
wan_if="fxp0"
lan_if="fxp1"
scrub in all
block in from any to any
block out from any to any
nat on fxp0 from fxp1:network to any ->fxp0
rdr on fxp1 proto tcp from any to any port 21 ->127.0.0.1 prot 8021
block in quick proto icmp from any to $wan_if
blockinquickproto {tcp,udp}fromanytoanyport
{135><139,445,554,593,1024><1030,1068,1080,1214,1363,1364,1368,1373,1433,1434,2000,2283,2535,2745,3120<>3130,3140,4444,5554,6880<>6899,8880<>8899,9898,10000,10080,12345,17300,27347,65506}
pass in fo $wan_if proto tcp from 192.168.1.176 to 192.168.1.200 port 22 keep state
pass out on $wan_if protot tcp from any to any flags S/SA modulate state
pass ort on $wan_if proto {udp,icmp}from any to any keep state
--------------------------------------------------------------------
inter100M fxp
inter1000m em
paauxw |grep inetd killall inetd
echo"inetd_enable="\"YES"\" >> /etc/rc.conf
pw adduser username -d /home/dir -s /sbin/sh
pw adduser username -d /home/dir -s /bin/sh
edquota -u -p windgao wordgao
repquota使用情况
--------------------
pf.conf
wan_ip=202.104.106.45 外网Ip
lan_ip="192.168.1.0/24"内网IP
wan_if=fxp0
lan_if=fxp1
web_if=192.168.0.200 web server
ifconfig_fxpo="inet 192.168.1.4 netmask 255.255.255.0"
ifconfig_fxp1="inet 192.168.1.5 netmask 255.255.255.0"
ifconfig_rlo="inet 192.168.1.6 netmask 255.255.255.0"
rdr on fxp0 from fxp1:network to any ->fxp0
rdf on fxp1 proto tcp from any to any port 21 -> 127.0.0.1 prot 8021
options smp

snaile 发表于 2005-8-5 18:59:51

配置底,是内存少,还是CPU太底!!!

不过P733 WIN2K 256M 1.5服务器,带30个人都没问题!!

请指教

chinawang 发表于 2005-8-6 08:57:59

都什么年代了,快把你的机器拿去扶贫去吧

snaile 发表于 2005-8-8 22:33:12

我做的服务器ping在4-14之间,我登陆后,ping基本稳定在21左右!!!其他人也都在20多,当然现在只有5、6个人!

easonlee 发表于 2005-8-24 04:30:27

Post by windgao
match_emulate
options ipv6
options NFS
options NFS-ROOT
options MSDOSFS
options VCONSOLE
options VSERCONFING
options VISUAL_VSERCONFIG
options KTRACE
options KBD_KBD_INSTALL_CDEV
options AHC_REG_PRETTY_PRINT
options SCSI_DELAY=1500
以上去掉
options i386
cpu i686cpu
ident GENERIC
maxuser 0
----------
derice pf
device pflog
device pfsync
--------------
options ALTQ
options ALTQ_CBQ
options ALTQ_RED
options ALTQ_RIO
options ALTQ_HFSC
options ALTQ-PRIQ
-----------------
options PANIC_REBOOT_WAIT_TIME=0
options DEVICE_POLLING
options HZ=2000
options IPSTEALTH
options TCP_DROP_SYNFIN
-----------------------
options QUOTA
--------------------------------
nameserver 202.96.134.133
nameserver 202.96.128.68
--------------------------------
/etc/fstab
/usr.rm.userquota,groupquota
--------------------------------
/etc/rc.conf
gateway_enable="YES"
kern_securelevel_enable="YES"
kern_securelevel="2"
inetd_enable="YES"
inetd_flags="-l -R 1024"
syslogd_enable="YES"
syslogd_flogs="-s -s"
background_dhclient="YES"
keyrate="fast"
sendmail_enable="NONE"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
snedmail_msp_queue_enable="NO"
clear_tmp_enable="YES"
fsck_y_enable="YES"
update_motd="NO"
tcp_drop_redirect="YES"
icmp_log_redirect="YES"
tcp_drop_synfin="YES"
log_in_vain="YES"
accounting_enable="YES"
linux_enable="YES"
ssh_enable="YES"
pf_enable="YES"
pf_rules="/etc/pf.conf"
pf_flags=""
pf_enable="YES"
pflog_logfile="/var/log/pflog"
enable_quota="YES"
----------------------------------
net.inet.ip.forwarding=1
net.inet.ip.fastforwarding=1
net.inet.tcp.drop_synfin=1
net.inet.tcp.sendspace=65536
net.inet.tcp.recvspace=65536
net.udp.sendspace=65535
net.local.stream.sendspace=65535
net.inet.tcp.rfc1323=1
net.inet.tcp.rfc1324=1
net.inet.tcp.rfc3042=1
net.inet.tcp.rfc3390=1
kern.ipc.maxsockbuf=2097152
kern.maxfiles=65536
kern.maxfilesperproc=32768
kern.polling.enable=1
kern.ipc.somaxconn=2048
kern.ipc.nmbclusters=32768
net.inet.icmp.icmplim=100
net.inet.icmplim_output=0
net.inet.tcp.drop_synfin=1
net.inet.tcp.msl=7500
net.inet.tcp.syncookies=1
net.inet.udp.blackhole=2
net.inet.raw.maxdgrom=65536
net.inet.raw.recvspace=65536
-------------------------------
pf.conf
wan_ip="192.168.0.1"
lan_ip="192.168.1.2"
wan_if="fxp0"
lan_if="fxp1"
scrub in all
block in from any to any
block out from any to any
nat on fxp0 from fxp1:network to any ->fxp0
rdr on fxp1 proto tcp from any to any port 21 ->127.0.0.1 prot 8021
block in quick proto icmp from any to $wan_if
blockinquickproto {tcp,udp}fromanytoanyport
{135><139,445,554,593,1024><1030,1068,1080,1214,1363,1364,1368,1373,1433,1434,2000,2283,2535,2745,3120<>3130,3140,4444,5554,6880<>6899,8880<>8899,9898,10000,10080,12345,17300,27347,65506}
pass in fo $wan_if proto tcp from 192.168.1.176 to 192.168.1.200 port 22 keep state
pass out on $wan_if protot tcp from any to any flags S/SA modulate state
pass ort on $wan_if proto {udp,icmp}from any to any keep state
--------------------------------------------------------------------
inter100M fxp
inter1000m em
paauxw |grep inetd killall inetd
echo"inetd_enable="\"YES"\" >> /etc/rc.conf
pw adduser username -d /home/dir -s /sbin/sh
pw adduser username -d /home/dir -s /bin/sh
edquota -u -p windgao wordgao
repquota使用情况
--------------------
pf.conf
wan_ip=202.104.106.45 外网Ip
lan_ip="192.168.1.0/24"内网IP
wan_if=fxp0
lan_if=fxp1
web_if=192.168.0.200 web server
ifconfig_fxpo="inet 192.168.1.4 netmask 255.255.255.0"
ifconfig_fxp1="inet 192.168.1.5 netmask 255.255.255.0"
ifconfig_rlo="inet 192.168.1.6 netmask 255.255.255.0"
rdr on fxp0 from fxp1:network to any ->fxp0
rdf on fxp1 proto tcp from any to any port 21 -> 127.0.0.1 prot 8021
options smp



什么意思!?能解释下吗?

永远一个人 发表于 2005-8-24 04:37:58

购买错误:您的现金不够,请从银行提取或设法赚钱。请点击浏览器上的后退按钮返回。
不要怪我。
为了买windows2003版主的“【原创服务器破解补丁】NonSteam CS1.6 b2738/3144/3213 Linux【8月15日更新】
隐藏帖
此帖为财富帖,只有拥有 10元 以上的会员才可查看此帖
此帖为资历帖,您的帖子数已经达到此帖要求 :10

不得不出些下策,十分怀念windows版下的BoeZombie兄的东西-----都不要钱
页: [1]
查看完整版本: FreeBSD5.4 安装CS16server 效果