Answer the question
In order to leave comments, you need to log in
How to quickly raise vpn?
Can't find a simple vpn setup. Everywhere hassle with certificates. Is it possible to get vpn just in a few commands and with minimal configuration changes? At least with password authentication.
Answer the question
In order to leave comments, you need to log in
apt-get install pptpd
/etc/pptpd.conf :
option /etc/ppp/pptpd-options
logwtmp
# localip-адрес не должен пересекаться ни с одним из адресов, доступных машине-клиенту через, например, локальную сеть.
localip 192.168.10.1
/etc/ppp/chap-secrets :
# Secrets for authentication using CHAP
# client server secret IP addresses
user1 pptpd password1 46.4.251.90
if it’s a one-time thing, in this article, on the fingers, how to open a tunnel through ssh
of all the easiest tinc
to understand once, then in two minutes
serts rise, he does it himself without any openssl with a dozen parameters
PPTP simply rises in a couple of commands, besides, there is no need to install third-party clients, unlike OpenVPN, etc.
https://github.com/MdNor/digital-ocean-pptp-vpn/bl...
Can!
Do you want me to send you certificates and configs? :)
then there will be a couple of commands:
1) install openvpn
2) copy the configs and certificates of the client and server
3) start the service on the server and on the client.
And that's it.
But certificates are generated once or twice. The main thing is to understand what and how.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question