User Tools

Site Tools


vpncloud_setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
vpncloud_setup [2020/08/06 14:55] neoonvpncloud_setup [2020/08/06 17:00] neoon
Line 1: Line 1:
-**VpnCloud Setup on Debian 10**+=== VpnCloud Setup on Debian 10 === 
 +Prepare
   apt-get install sudo gnupg   apt-get install sudo gnupg
 Adding VpnCloud repo Adding VpnCloud repo
Line 6: Line 7:
   sudo apt update   sudo apt update
   sudo apt install vpncloud   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