tincvpn_setup
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tincvpn_setup [2017/05/13 11:11] – neoon | tincvpn_setup [2021/11/25 22:42] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 4: | Line 4: | ||
**Server 1 & 2** | **Server 1 & 2** | ||
- | apt-get install tinc | + | apt-get install tinc && |
- | | + | |
- | Add myVPN into / | + | Add |
+ | | ||
+ | into / | ||
## This file contains all names of the networks to be started on system startup. | ## This file contains all names of the networks to be started on system startup. | ||
Line 32: | Line 33: | ||
**Server 1 & 2** | **Server 1 & 2** | ||
- | mkdir / | + | mkdir / |
- | | + | |
| | ||
**Server 1** | **Server 1** | ||
Line 76: | Line 76: | ||
chmod 755 / | chmod 755 / | ||
| | ||
- | **Server 1** | + | **Server 1** We need to copy the Public keys now, you can use tons of methods for that\\ |
+ | For Server 1 we need to copy / | ||
- | We need to copy the Public keys now, you can use tons of methods for that | + | **Server 2**\\ |
+ | For Server 2 we need to copy / | ||
- | For Server 1 we need to copy /etc/tinc/ | + | **Finish**\\ |
+ | Since Tinc is in nets.boot you can just reboot your boxes or sudo service | ||
+ | For Debian 10 you can use: | ||
+ | systemctl enable tinc@myVPN | ||
+ | systemctl start tinc@myVPN | ||
+ | If you have issues, you can debug if tinc is able to open a connection to the other server with | ||
+ | sudo tincd -n myVPN -D -d3 | ||
+ | | ||
+ | **You need to enable TUN/TAP for OVZ** | ||
tincvpn_setup.1494673919.txt.gz · Last modified: 2021/11/25 22:44 (external edit)