Created
March 6, 2021 10:49
-
-
Save JakWai01/47d8cb320dd11a003a41fdffd541cb35 to your computer and use it in GitHub Desktop.
n2n installation on Debian 10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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