Score:0

Manitaining Network Connections and VPN connections with 20.04LTS using the CLI

cn flag

I have a few questions around the latest release of 20.04 and the server builds without a GUI interface. I have like all my other Servers attempted to build a 20.04 Server without a GUI as I prefer to work with the CLI rather than the GUI however this is proving to be very difficult to manage both the Network Connections as well as the VPN tunnels should we need to or want to manage them. Currently I have a virtual Server with 4 Virtual NICs and a VPN connection to manage a L2tp Tunnel however I have had it (in my horror) had to build the GUI interface and connect via RDP to manage, start, stop and create Tunnels. Almost All the resources I have found on the net refer to using the GUI to accomplish this however I would prefer to build, maintain and manage my network connections and VPN tunnels via the CLI but cannot find an documentation or examples to show how this should be done with the new Ubuntu release (Specifically around Netplan). My Question is how do I create a persistent VPN tunnel and bring up 4 NICs with Statically assigned Addresses without relying on the GUI to get this done. In the event that I have used the GUI , where do I find the config files that are setting the NIC's and VPN Setting and how do I (using the CLI) make the necessary static IP Changes and convert the VPN connection to Persistent. Given it's a server I would prefer to allocate my resources to the roles allocated and not the GUI I would prefer to be able manage these connections via the CLI. Any Advice, examples or Documentation on this would be greatly appreciated.

Kind Regards, Lloyd

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.