Building Linux Virtual Private Networks
(view this code in a separate window)
# Without a "device" line, the device is picked dynamically
# device cipcb0

# peer's interface IP address
ptpaddr         10.1.2.1

# our CIPE device's IP address
ipaddr          10.1.1.1

# Remember that CIPE tunnels over UDP so you need to
# define IP addresses and ports
#
# The following are real IP addresses with ports
# that CIPE will use for tunneling.
#
# Note: if you set port 0 here, the system will pick
# one and tell it to you via the ip-up script.
# Same with IP=0.0.0.0
#
me              self.sandybeach.florida.com:9100

# the UDP address we connect to.
# Of course no wildcards here.
#
peer            office.detroit.company.com:30000

ipup=/etc/cipe/ip-up.detroit
ipdown=/etc/cipe/ip-down.detroit

# The shared key. Must be secret.
# This is why we do not want anybody except for root
# to see this file. The key is 128 bits in hexadecimal notation.
#
key             3248fd20adf9c00ccf9ecc2393bbb3e4

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

New Riders Publishing