This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| deb9:openvpn [2023/05/12 16:34] – [Links] Bernard Condrau | deb9:openvpn [2026/08/14 20:13] (current) – Bernard Condrau | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| - Install [[https:// | - Install [[https:// | ||
| + | ===== Migrating server ===== | ||
| + | If you resinstall OpenVPN on a new machine with existing client configurations do the following: | ||
| + | - Copy ''/ | ||
| + | - Follow [[https:// | ||
| + | - Check the VPN is running with< | ||
| ===== Adding Clients ===== | ===== Adding Clients ===== | ||
| Setting up the environment (//VPN Server(s)// and //CA Server//) takes a while, the many steps are outlined clearly and in detail in the Original Article below in [[deb9: | Setting up the environment (//VPN Server(s)// and //CA Server//) takes a while, the many steps are outlined clearly and in detail in the Original Article below in [[deb9: | ||
| Line 18: | Line 23: | ||
| === CA Server === | === CA Server === | ||
| - | * Log in to your //CA Server// and copy the client1.req file from the //VPN Server//:< | + | * Log in to your //CA Server// and copy the client1.req file from the //VPN Server//:< |
| * Navigate to the EasyRSA directory and sign the request, be sure to specify the client request type:< | * Navigate to the EasyRSA directory and sign the request, be sure to specify the client request type:< | ||
| - | * Copy the signed client1.crt file back to the //VPN Server//:< | + | * Copy the signed client1.crt file back to the //VPN Server//:< |
| === VPN Server === | === VPN Server === | ||
| Line 28: | Line 33: | ||
| * Install the //OpenVPN Client// for [[https:// | * Install the //OpenVPN Client// for [[https:// | ||
| * On Android, open the app and select the import icon top right to import the config file.{{ : | * On Android, open the app and select the import icon top right to import the config file.{{ : | ||
| + | |||
| + | ===== Managing network ===== | ||
| + | * If you have more than one network adapter enabled you need to make sure that the OpenVPN settings match the default adapter. This can be necessary, when you have a virtual machine running on your main server, for example to host websites, and the virtual machine get's its IP address from a DHCP server in the system. | ||
| + | * Check active adapters:< | ||
| + | * Disable the adapter (example IP and device enp47s0):< | ||
| + | * To make it permanent for **NetworkManager** | ||
| + | - Create a new connection profile< | ||
| + | - Disable IP configurations< | ||
| + | - Bring the interface up< | ||
| ===== Links ===== | ===== Links ===== | ||
| Line 34: | Line 48: | ||
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| + | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||