Building Linux Virtual Private Networks
(view this code in a separate window)
# VPN1 Configuration File
# /opt/ssh-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="no"
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="yes"
server_require_pap="yes"
client_require_chap="no"
server_require_chap="no"

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

# Need any extra ssh arguments?  Put them here
#client_ssh_args="-C"
#server_ssh_args=""



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

New Riders Publishing