ooo̐ݒ(FreeBSD3.0)
#################################################################
#
# PPP Sample Configuration File
#
# Originally written by Toshiharu OHNO
#
# $Id: ppp.conf.sample,v 1.33 1998/10/03 13:12:14 brian Exp $
#
#################################################################

default:
allow user *** *** ***
set log Phase Chat LCP IPCP CCP tun command
set device /dev/cuaa0
set speed 115200
ondemand:
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK
AT OK atz0 OK \\dATD\\T TIMEOUT 40 CONNECT"
set speed 115200
set phone ********
# set login "ABORT NO\\sCARRIER TIMEOUT 5 ogin:--ogin: ppp word: ppp"
set login
set authname **********
set authkey *********
set timeout 160
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
# set ifaddr 192.244.185.226 192.244.176.44
add default HISADDR
enable dns
set filter dial 0 deny icmp
set filter dial 1 deny tcp src eq 39
set filter dial 2 deny tcp dst eq 39
set filter dial 3 deny udp src eq 39
set filter dial 4 deny udp dst eq 39
set filter dial 5 deny tcp src eq 137
set filter dial 6 deny tcp dst eq 137
set filter dial 7 deny 0 0 tcp syn finrst
# set filter dial 8 deny udp src eq 53
# set filter dial 9 deny udp dst eq 53
#set filter dial 1 deny tcp src eq 137
#set filter dial 2 deny tcp dst eq 137
#set filter dial 3 deny tcp src eq 138
#set filter dial 4 deny tcp dst eq 138
#set filter dial 5 deny tcp src eq 139
#set filter dial 6 deny tcp dst eq 139
set filter alive 8 deny udp src eq 53
set filter alive 9 deny udp dst eq 53
set filter out 10 deny 10.10.20.0/24 0/0
#set filter alive 9 deny tcp src eq 137
#set filter alive 10 deny tcp dst eq 137
#set filter alive 11 deny tcp src eq 138
#set filter alive 12 deny tcp dst eq 138
#set filter alive 13 deny tcp src eq 139
#set filter alive 14 deny tcp dst eq 139
set filter dial 15 permit 0 0
set filter alive 16 permit 0 0
dialback:
set callback cbcp
set cbcp *
enable CHAP
enable PAP
# set log +cbcp
set redial 3 1
set device /dev/cuaa0
set speed 115200
set dial "TIMEOUT 10 \"\" AT OK-AT-OK ATZ0 OK ATD\\T CONNECT"
set ifaddr 192.168.200.1 192.168.200.2
set nbns 192.168.200.1
# add default HISADDR