openvpn
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
openvpn [2018/02/12 17:01] – skipidar | openvpn [2020/12/27 20:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== OpenVpn ====== | ====== OpenVpn ====== | ||
- | === Domain | + | ==== Joining OpenVpn |
To domain join the OpenVpn server do the following: | To domain join the OpenVpn server do the following: | ||
- | Configure the Server to use LDAP: | + | Configure the Server to use LDAP. Requiring the Following Active Directory Structure. |
+ | |||
+ | * basic.local | ||
+ | * basic | ||
+ | * Users -> Admin | ||
+ | * Groups -> OpenVpnUsers | ||
+ | |||
+ | |||
|Bind DN: |CN=Admin, OU=Users, OU=basic, | |Bind DN: |CN=Admin, OU=Users, OU=basic, | ||
Line 14: | Line 22: | ||
Login to the CLient using, without having the domain as prefix: | Login to the CLient using, without having the domain as prefix: | ||
- | ACHTUNG: having special characters like " | + | ACHTUNG: having special characters like " |
+ | < | ||
+ | 2018-02-12 16: | ||
+ | </ | ||
|Login: | |Login: | ||
|Password: | |Password: | ||
+ | |||
+ | |Additional LDAP Requirement: | ||
+ | |||
+ | |||
== Debug == | == Debug == | ||
Line 32: | Line 47: | ||
LDAP invalid credentials on ldap:// | LDAP invalid credentials on ldap:// | ||
</ | </ | ||
+ | |||
+ | |||
+ | ==== Configs ==== | ||
+ | The key " | ||
+ | |||
+ | < | ||
+ | $ cat / | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | } | ||
+ | |||
+ | </ | ||
+ | |||
+ | Alternative via API | ||
+ | < | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== API ===== | ||
+ | Configure via Command line: | ||
+ | |||
+ | < | ||
+ | cd / | ||
+ | bash sacli --user __DEFAULT__ --key " | ||
+ | bash sacli --user __DEFAULT__ --key " | ||
+ | bash sacli --user __DEFAULT__ --key " | ||
+ | bash sacli --user __DEFAULT__ --key " | ||
+ | | ||
+ | bash sacli --user __DEFAULT__ --key " | ||
+ | bash sacli --user __DEFAULT__ --key " | ||
+ | bash sacli --user __DEFAULT__ --key " | ||
+ | bash sacli --user __DEFAULT__ --key " | ||
+ | bash sacli --user __DEFAULT__ --key " | ||
+ | bash sacli --user __DEFAULT__ --key " | ||
+ | bash sacli --user __DEFAULT__ --key " | ||
+ | bash sacli --user __DEFAULT__ --key " | ||
+ | bash sacli --user __DEFAULT__ --key " | ||
+ | bash sacli --user __DEFAULT__ --key " | ||
+ | bash sacli --user __DEFAULT__ --key " | ||
+ | bash sacli --user __DEFAULT__ --key " | ||
+ | bash sacli --user __DEFAULT__ --key " | ||
+ | |||
+ | # apply the configs to the server | ||
+ | bash sacli --user __DEFAULT__ start | ||
+ | |||
+ | # echo configs | ||
+ | bash sacli ConfigQuery | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== Deploying via Cloudformation ==== | ||
+ | Use that template. | ||
+ | The given AMI is suitable for the region us-east-1, Virginia. | ||
+ | Depending on the region you will have to adopt the AMI. | ||
+ | |||
+ | * https:// | ||
+ | * https:// | ||
+ | |||
+ | |||
+ | ==== Configuring Acer Router ==== | ||
+ | {{https:// | ||
+ | |||
+ | * Check the right protocol, here UDP. It must be open among on the server side | ||
+ | |||
+ | Here we can see, that the router is using the UDP port and protocol, as configured on the server side: | ||
+ | |||
+ | {{https:// | ||
openvpn.1518454878.txt.gz · Last modified: (external edit)