S
S
Stanislav Valsinats2019-03-18 20:25:52
VPN
Stanislav Valsinats, 2019-03-18 20:25:52

How to create a VPN client?

Good day to all! Tell me:
It is planned to access the corporate network for users from home during non-working hours (there is such a need as work from home)
Tell me - how can I make a tool for setting up a connection to the corporate network?
Now they have made instructions with pictures, but I myself understand that this is inconvenient and not everyone understands.
I would like to run .exe, or something like .cmd, a script - and so that it works and a connection is created. At the same time, so that the dependencies are satisfied, and not so that you need to download .NET to run PowerShell. (or do dependency satisfaction)
Clients - Windows only (7, 10)

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
Dmitry, 2019-03-18
@jesterOK

CMAK

D
Drno, 2019-03-18
@Drno

In fact, yes, tell me what kind of VPN.
You can write a CMD script to create a VPN connection with the desired settings.
If OVPN - even easier. Pack with the necessary config into a self-distributing archive, then again run a CMD script in it that will install everything

D
Dmitry, 2019-03-19
@hempy80

+1 to OpenVPN, the server certificate can be integrated into the configuration file, and authorization can be done via LDAP / AD (you probably have a domain in the organization), the configuration itself is set simply by double-clicking, if the client is installed, of course. A huge plus of openVPN is the ability to send routes to the client to your corporate network, so all client traffic will not go through your VPN gateway, but only the one that is needed.

S
Stanislav Valsinats, 2019-03-19
@jesterOK

Let me explain the question about the type of VPN - so far none, a question for the future, but I planned to organize L2TP + IPsec on Mikrotik. Or CISCO.
If there are difficulties with this, then another type of VPN is possible. Just the one indicated above, as I understand it, is the safest.
And you can at least one example of such a script. I honestly tried to search a year ago, but I did not find anything. Perhaps I didn't formulate my search query correctly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question