Networks and Firewalling

These aren’t as polished as my other notes, as they’re mostly meant to serve as notes for repeatable processes I’ve had to do in the past :)

Configuring a Router with a 1:1 NAT

1:1 NAT

Ensuring the settings persist

auto ens37
iface ens37 inet static
    address 192.168.55.15
    netmask 255.255.255.0
    network 192.168.55.0
    broadcast 192.168.55.255
auto ens37:0
iface ens37:0 inet static
    address 192.168.55.16
    netmask 255.255.255.0

Configure Managed Switch to Mirror Traffic

Setup

Issues

Firewalling

Iptables

ufw

nftables

Windows

Misc

Connecting to LAN over USB