search for: vpnip

Displaying 1 result from an estimated 1 matches for "vpnip".

Did you mean: vpip
2015 Jan 12
1
SIMPLE TINC template example
...ries to configure your VPN: sh ./templatewriter.sh LAN LOSI101 8540 255.255.255.0 0.0.0.0 10.99.0.11 10.98.0.11 ConnectTo=LOSI102 ConnectTo= ConnectTo= **PUT MORE ENTRIES HERE FOR MORE COMPLEX VPN setups ######Templatewriter.sh #!/bin/bash SDIR=$1 NODENAME=$2 PORT=$3 MASK=$4 LISTIP=$5 OPNIP=$6 VPNIP=$7 CONN1=$8 CONN2=$9 CONN3=${10} #READING IN THE RSA AND 25519 KEYS CAUSES ALL SORTS OF HEADACHES WITH SED #JUST KEEP THEM IN THE TEMPLATES AS IS #RSAKEY=$(cat "/tinc/rsa_key.pub") #ED25519KEY=$(cat "/tinc/ed25519_key.pub") echo "-------------TEMPLATE WRITER VARIABLES----...