| 
 | 
 
 楼主 |
发表于 2004-3-10 12:16:17
|
显示全部楼层
 
 
 
用linux的话开它一年也没有问题,用win98 一、二天就要启动一次了。 
 
config配置 
# 
# Configuration for floppyfw 
# 
# Fill in the blanks. 
# 
 
# For configuring of modules to use,  
# this includes the network interfaces: /modules.lst 
 
# For configuring firewall rules and incoming traffic: /firewall.ini 
# For configuring extra network interfaces you may use netwirk.ini 
 
# 
# Outside network: 
# 
# 
# DHCP is the hook for the DHCP-client for the outside interface.  
# If used, you may have hangups of connections when the client has 
# to get a new IP-address. 
# 
# EXTERNAL is a hook for booting a external startup script from a package. 
# the external script has to be in /etc/ext-up.init 
# 
# For fixed IP setup, set the address and stuff a few sections below. 
#下面三种方式选择一种没有'#'的是有效的。pppoe 方式有效。 
# 
#专线如光缆、网线上网 
#OUTSIDE_IP=      
 
#由isp提供的DHCP方式上网我想比较少吧 
#OUTSIDE_IP=DHCP 
 
#使用pppoe上网如ADSL 
OUTSIDE_IP=EXTERNAL 
 
 
#  
# The external script can need you to add your username and password, as 
# the PPPoE package does. This is where you can add that. 
#如果有pppoe则填上用户名与密码。 
USER_IDENT= 
USER_PASSWORD= 
 
# 
# eth0 default device. 
# 
OUTSIDE_DEV=eth0 
# 
# Not nescessary to set these if you are using DHCP 
#如果专线则填上提供给你的ip与掩码 
OUTSIDE_NETMASK= 
OUTSIDE_NETWORK= 
 
#不知道可以不写 
OUTSIDE_BROADCAST= 
 
# MAC address for outside nic 
# Some ISPs uses bootp style dhcp tables and some just remembers the last 
# used MAC address. this allows you to swap nics 
# OUTSIDE_MAC=00:00:e8:48:6c:cb 
 
#  
# Your inside network, this has 10.42.42.* set as default, this is  
# addresses assigned for internal networks according to RFC 1918. 
# 
# eth1 is the default device for the internal network. 
# 
INSIDE_IP=192.168.0.1 
INSIDE_DEV=eth1 
INSIDE_NETWORK=192.168.0.0 
INSIDE_NETMASK=255.255.255.0 
INSIDE_BROADCAST=192.168.0.255 
 
# 
# Misc 
# These are not nescessary to set if you are using DHCP. 
# (The DOMAIN field might be useful to change) 
# 
#专线 提供给你的网关 
DEFAULT_GATEWAY= 
#dns的ip地址 
NAME_SERVER_IP1= 
NAME_SERVER_IP2= 
 
HOSTNAME=floppyfw 
DOMAIN=floppyfwsecured.com 
 
# 
# Use a DHCP server on the inside network. (This will turn on the DNSMASQ) 
#打开DHCP服务,想打开的话则n改为y 
DHCP_DAEMON=n 
DHCP_RANGE_START=192.168.0.100 
DHCP_RANGE_END=192.168.0.200 
 
# 
# Use a caching DNS server on the floppy. (This will automatically be true if 
# the DHCP daemon is used.) 
#打开DNS缓存  n不打开,y打开。如果打开的话则客户端的dns可以为192.168.0.1 
DNSMASQ=y |   
 
 
 
 |