This is an old revision of the document!
Snap install for some reason over apt-get.
snap install network-manager
You might need this at some point.
systemctl restart snap.network-manager.networkmanager.service
/etc/netplan/00-main.yaml
network: version: 2 renderer: NetworkManager ethernets: eth0: dhcp-identifier: mac dhcp4: no eth1: dhcp-identifier: mac dhcp4: yes dhcp4-overrides: # we set this below 100 to ensure this route is preferred over the LTE connection route-metric: 99 modems: usb0: apn: fast.t-mobile.com dhcp4: true dhcp4-overrides: # This option seems to have no affect route-metric: 200 nameservers: addresses: [8.8.8.8,1.1.1.1]
*filter :INPUT ACCEPT [1803:112074] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [65125:5360043] -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT -A INPUT -i usb0 -j DROP COMMIT