#
# dwun configuration file ( /etc/dwunrc )
# 
# See man 5 dwunrc, ../html

# listen on these interfaces
bind 192.168.1.1 127.0.0.1

# How to connect. If commandon launches a daemon (e.g. pppd) start with dwunwait
commandon dwunwait ifup ppp0
# How to disconnect. If the commandoff line is commented out, we will just kill
# commandon
commandoff ifdown ppp0

logfile /var/log/dwun.log
command_logfile /var/log/dwun-command.log

# As lines containing 'pppd[' are added to /var/log/messages, they will be sent
# to CONNECTed users
pre_commandon dwunlog 'pppd[' /var/log/messages
post_commandon kill `cat /var/run/dwun-log.pid`

# Log extra information
#debug
