

ez pz:
#!/usr/sbin/nft -f
table inet filter {
chain input {
type filter hook input priority raw; policy accept;
iif "lo" accept
ct state established,related accept
iif "enp1s0" udp dport 51820 accept
iif "enp1s0" drop
}
chain forward {
type filter hook forward priority raw; policy accept;
iif "lo" accept
ct state established,related accept
iif "enp1s0" udp dport 51820 accept
iif "enp1s0" drop
}
chain output {
type filter hook output priority raw; policy accept;
}
}


There are a lot of options if you’re experienced with Linux and know how to get things to work/are willing to do research. However, if you are new, then you should definitely play it safe to avoid frustration.
My current laptop is an Asus PX13, which is an awesome value and probably the most powerful machine you can buy at its size. Unfortunately, Asus does not support Linux on its laptops at all, and any support that exists comes from volunteers. I’m very happy with my current setup, but there are some rough edges that come from the lack of official support.