Building Linux Virtual Private Networks
(view this code in a separate window)
# VPN1 Configuration File
# /opt/ssl-vpn/etc/vpn1

# The networks being connected on both sides, suitable for
# the 'route' command
client_network=192.168.2.0/24
server_network=192.168.1.0/24

# Do we need debugging information?
client_debug="yes"
server_debug="yes"

# Pick different IPs for each VPN you need.
server_ppp_ip=192.168.254.254
client_ppp_ip=192.168.254.253

# Should we require PPP authentication?
client_require_pap="no"
server_require_pap="no"
client_require_chap="yes"
server_require_chap="yes"

# Need any non-standard pppd arguments?  Put them here.
#client_pppd_args="usepeerdns"
#server_pppd_args="proxyarp"

# Need any extra stunnel arguments?  Put them here
#client_stunnel_args="-C HIGH"
#server_stunnel_args=""



Home
Contents
Authors
Reviews
Errata
Colophon
Source Code
Sample Chapter
Suggested Reading
Purchase

New Riders Publishing