openvpn
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
openvpn [2018/02/13 08:18] – skipidar | openvpn [2020/12/27 20:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== OpenVpn ====== | ====== OpenVpn ====== | ||
- | === Joining OpenVpn to a Microsoft Active Directory === | + | ==== Joining OpenVpn to a Microsoft Active Directory |
To domain join the OpenVpn server do the following: | To domain join the OpenVpn server do the following: | ||
Line 47: | 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.1518509911.txt.gz · Last modified: (external edit)