Tried spinning up a new OpenVPN server (Ubunto ver 22.04) via Hyper-v VM and started out byrunning sudo nano /etc/netplan/01-netcfg.yaml
file and set it up per OpenVPN recommended settings and did not work stating"
/etc/netplan/01-netcfg.yaml:1:1: Error in network definition: expected mapping (check indentation)
Ive tried about 10 different combinations but none of them are working - Then had OpenVPN support in with me and they told me to run netplan get
command and then said I need to reach out to Ubuntu Support. Here is what I currently have set for this file along with another 2 examples of what I have tried.....
network: version: 2 renderer: networkd ethernets: eth0: dhcp4: no addresses: - 172.16.69.230/24 gateway4: 172.16.69.254 nameservers: addresses: [172.16.69.20]network: version: 2 renderer: networkd ethernets: eth0: dhcp4: false dhcp6: false addresses: - 172.16.69.230/24 routes: - to: default via: 172.16.69.254 nameservers: addresses: [172.16.69.20]network: version: 2 ethernets: eth0: dhcp4: false dhcp6: false addresses: - 172.16.69.230/24 routes: - to: default via: 172.16.69.254 nameservers: addresses: - 172.16.69.20