Skip to content

Instantly share code, notes, and snippets.

@JakWai01
Created March 6, 2021 10:49
Show Gist options
  • Save JakWai01/47d8cb320dd11a003a41fdffd541cb35 to your computer and use it in GitHub Desktop.
Save JakWai01/47d8cb320dd11a003a41fdffd541cb35 to your computer and use it in GitHub Desktop.
n2n installation on Debian 10
# On both hosts
curl -L -o /tmp/apt-ntop-stable.deb https://packages.ntop.org/apt-stable/buster/all/apt-ntop-stable.deb
apt install -y /tmp/apt-ntop-stable.deb
apt update
apt install -y n2n
# On the first host (104.248.195.171)
supernode -l 7777
edge -A3 -c code-and-chill -k cacpass -a 192.168.100.1 -f -l 104.248.195.171:7777
# On the second host
edge -A3 -c code-and-chill -k cacpass -a 192.168.100.2 -f -l 104.248.195.171:7777
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment