Skip to content

Instantly share code, notes, and snippets.

@pojntfx
Last active March 5, 2021 22:04
Show Gist options
  • Save pojntfx/9f44dd63ad83a58da3cdc82a4c6d7cce to your computer and use it in GitHub Desktop.
Save pojntfx/9f44dd63ad83a58da3cdc82a4c6d7cce to your computer and use it in GitHub Desktop.
Installation of n2n 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