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