老大,我这算不算原创? /usr/src/sys/i386/conf/AHCBD: 引用:
options NETGRAPH options NETGRAPH_ETHER options NETGRAPH_SOCKET options NETGRAPH_PPPOE
options IPFIREWALL #firewall options IPFIREWALL_VERBOSE #enable logging to syslogd(8) options IPFIREWALL_FORWARD #enable transparent proxy support options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default options IPDIVERT #divert sockets
/etc/ppp.conf: 引用:
default: set log Phase Chat LCP IPCP CCP tun command # nat enable yes # nat same_ports yes # nat use_sockets yes set redial 15 28800 set reconnect 15 28800 pppoe: set device PPPoE:ed0: set mru 1492 set mtu 1492 set speed sync enable lqr set lqrperiod 5 set cd 5 set dial set login set timeout 0 set authname 7724888 set authkey 7724888 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR enable dns
/etc/rc.conf: 引用:
ppp_enable="YES" #ppp_mode="ddial" ppp_mode="background" ppp_profile="pppoe"
firewall_enable="YES" # Set to YES to enable firewall functionality firewall_script="/etc/rc.firewall" # Which script to run to set up the firewall firewall_type="ipfw.rules" # Firewall type (see /etc/rc.firewall) firewall_quiet="NO" # Set to YES to suppress rule display firewall_logging="NO"
gateway_enable="YES" natd_enable="YES" natd_interface="tun0" natd_flags="-m -s -f /etc/natd.conf"
[此贴被 Garu(syshunter) 在 01月12日14时14分 编辑过]
|