51 | | Comming soon |
| 51 | Instructions are provided for configuring the strongswan network manager plugin. Strongswan is an IKE daemon which can be used to set up an IPSEC tunnel. The strongswan package is available for a variety of linux distros, and can be configured manually through files in /etc instead of installing the network manager plugin. See [https://wiki.strongswan.org/projects/strongswan/wiki/UsableExamples this page] on the strongswan wiki for examples. |
| 52 | |
| 53 | These instructions are specific to ubuntu 20.04, although they should be similar for other versions of ubuntu. Additional linux distros which use network-manager may provide a version of the plugin through their packaging system. |
| 54 | |
| 55 | To install the plugin, run {{{apt-get install network-manager-strongswan}}}. |
| 56 | |
| 57 | Open settings and navigate to the Network tab. Below wired connections, there should be a section for VPN connections. Select the "+" to add a new VPN connection. |
| 58 | |
| 59 | [[Image(settings.png, 800px)]] |
| 60 | |
| 61 | Fill in the connection information as below, making sure to use your cosmos username and select the correct domain (e.g. vpn.sb1.cosmos-lab.org) |
| 62 | |
| 63 | [[Image(strongswanconfig.png, 500px)]] |
| 64 | |
| 65 | In the IPv4 tab, you can configure manual routes or you can simply check the option to "Use this connection only for resources on its network". |
| 66 | |
| 67 | Note: there has been some difficulty with DNS resolution over the vpn connection. If you encounter this problem, please let us know. Until the issue is resolved, you can use ip addresses instead of dns names. To find the ip address of a machine, use the host utility to query the dns server located at 10.50.0.8: |
| 68 | |
| 69 | [[Image(hostlookup.png, 500px)]] |
| 70 | |
| 71 | |