User Tools

Site Tools


Sidebar

Public
Internal
public:it:protectli

This is an old revision of the document!


Proctectli FW2B

Internal LTE Modem

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]

iptables

*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
public/it/protectli.1630225157.txt.gz ยท Last modified: 2021/08/29 03:19 by phil