ship init script for controlling the n2n VPN. Closes: #742098

This commit is contained in:
Rolf Leggewie 2014-02-24 13:45:32 +08:00
parent d5e5718199
commit 9e3db3967a
2 changed files with 199 additions and 0 deletions

27
debian/default vendored Normal file
View file

@ -0,0 +1,27 @@
# Config file for the n2n edge node daemon.
# Sets the n2n community name. All edges within the same community appear on
# the same LAN (layer 2 network segment). Community name is 16 bytes in length.
N2N_COMMUNITY="DEBIAN_n2n_Testers"
# Sets the twofish encryption key from ASCII text. All edges communicating must
# use the same key and community name.
N2N_KEY="SuperSecurePassword"
# Sets the n2n supernode IP address and port to register to.
N2N_SUPERNODE="remoteqth.com"
N2N_SUPERNODE_PORT="82"
# Sets the n2n virtual LAN IP address being claimed. This is a private IP
# address. All IP addresses in an n2n community typical belong to the same /24
# net work (ie. only the last octet of the IP addresses varies).
N2N_IP="10.1.2.3"
N2N_DAEMON_OPTS=""
# Uncomment this to get edge node started.
#N2N_EDGE_CONFIG_DONE="yes"
#TODO
# add routing option
# sudo ip route add 192.168.1.0/24 via 10.1.2.1