Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > contrib > by-pkgid > b925ecbdbd8b3c79875000359b742194 > files > 39

vpnd-1.1.0-2mdk.i586.rpm

# -----------------------------------------------------------------------------
# Note that the IPs given in this sample configuration file are deliberately
# wrong. You must user your IPs!!!!
# -----------------------------------------------------------------------------
#
# we are server
#
mode server
#
# we use /dev/cua2
#
server /dev/cua2
#
# remote side may use any device, just specify the same
# device as above here
#
client /dev/cua2
#
# we use 393.12.2.13 as IP for the slip interface
#
local  393.12.2.13
#
# point to point target of the slip interface is 393.12.2.4
#
remote 393.12.2.4
#
# route to the remote network(s)
#
route1 393.12.2.0 255.255.255.192 393.12.2.4
route2 0.0.0.0 0.0.0.0 393.12.2.4
#
# the shared secret of both systems involved
#
keyfile samples/key
#
# change key every hour
#
keyttl 60
#
# the pid file of the vpnd daemon
#
pidfile /var/run/vpnd.pid
#
#  random device
#
randomdev /dev/urandom
#
# retry delay for communication errors is 10 seconds
#
retry 10
#
# idle pings every second
#
keepalive
#
# drop line after 3 consecutive missing ping answers
#
noanswer 3
#
# serial line initialization script
#
modemchat samples/leased.server.chat