Building Linux Virtual Private Networks
(view this code in a separate window)
# /etc/tinc/ab/hosts/A
Subnet = 192.168.1.0/24
Address = 172.16.1.1
Port = 655

# here you should have A's public key generated by tincd -K
-----BEGIN A's RSA PUBLIC KEY-----
[…]
-----END A's RSA PUBLIC KEY-----
# /etc/tinc/ab/hosts/B
Subnet = 192.168.1.2/32
Address = 172.16.5.1
Port = 655

# here you should have B's public key generated by tincd -K
-----BEGIN B's RSA PUBLIC KEY-----
[…]
-----END B's RSA PUBLIC KEY-----

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

New Riders Publishing