S
S
Schoolboy.2016-06-14 23:05:42
linux
Schoolboy., 2016-06-14 23:05:42

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

7 answer(s)
Влад Животнев, 2016-06-15
@viphorizon

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

V
Vladimir, 2016-06-15
@rostel

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

Z
zooks, 2016-06-14
@zooks

The easiest way:
p.umputun.com/p/2014/08/12/svoi-sobstviennyi-vpn-z...

S
Sanes, 2016-06-15
@Sanes

openvpn

O
OnYourLips, 2016-06-15
@OnYourLips

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...

H
huko, 2016-06-15
@huko

https://github.com/kylemanna/docker-openvpn

Y
younghacker, 2016-07-16
@younghacker

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 question

Ask a Question

731 491 924 answers to any question