User Tools

Site Tools


vpncloud_setup

VpnCloud Setup on Debian 10

Prepare

apt-get install sudo gnupg

Adding VpnCloud repo

echo "deb https://repo.ddswd.de/deb stable main" | sudo tee /etc/apt/sources.list.d/vpncloud.list
wget https://repo.ddswd.de/deb/public.key -qO - | sudo apt-key add
sudo apt update
sudo apt install vpncloud

Config /etc/vpncloud/myVPN.net (Server 1 & Server 2)

listen: 3210
peers:
 - xxx.xxx.xxx.xxx:3210 #Server1
 - xxx.xxx.xxx.xxx:3210 #Server2
peer_timeout: 600
dst_timeout: 300
shared_key: "secret" #generate a big big string
crypto: chacha20
device_name: "vpncloud%d"
device_type: tap
mode: normal
subnets:
 - 10.0.1.0/24
ifup: "ifconfig $IFNAME 10.0.1.1/24 mtu 1400" #1.2 Server 2 
ifdown: "ifconfig $IFNAME down"  

Start

sudo service vpncloud@myVPN start  

Startup

systemctl enable vpncloud@myVPN
vpncloud_setup.txt · Last modified: 2021/11/25 22:42 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki