Sophie

Sophie

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

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 client
#
mode client
#
# client ip is 393.12.2.4 and client uses port 2001
#
client 393.12.2.4 2001
#
# remote server ip is 393.12.2.13 and server listens on port 2001
#
server 393.12.2.13 2001
#
# we use 10.1.1.1 as IP for the slip interface
#
local 10.1.1.1
#
# point to point target of the slip interface is 10.1.1.5
#
remote 10.1.1.5
#
# this kernel adds automatically a route to the slip
# interface when the interface is created
#
autoroute
#
# we send idle pings every 10 seconds
#
keepalive 10
#
# drop connection after three pings to peer with no answer
#
noanswer 3
#
# the shared secret of both systems involved
#
keyfile samples/key
#
# the pid file of the vpnd daemon
#
pidfile /var/run/vpnd.pid
#
# use nonblocking random device
#
randomdev /dev/urandom
#
# use a mtu of 1600 for the slip interface (must be the same
# on remote interface)
#
mtu 1600