sudo iptables -S
-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT
-A OUTPUT -o tun0 -j ACCEPT
-A OUTPUT -o eth0 -p icmp -j ACCEPT
-A OUTPUT -d 192.168.1.0/24 -o eth0 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --dport 1197 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 22 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --dport 123 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --dport 53 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 53 -j ACCEPT
-A OUTPUT -o eth0 -j DROP
osmc@osmc:~$ sudo netfilter-persistent save
run-parts: executing /usr/share/netfilter-persistent/plugins.d/15-ip4tables save
run-parts: executing /usr/share/netfilter-persistent/plugins.d/25-ip6tables save
Well, for some reason both sudo nano /etc/systemd/system/openvpn-watchdog.timer are empty, idk what happened, I just did it on 2 devices to not go overboard but they’re both empty now if I nano them lol, so weird!
I’ll recreate one on my pi right now (don’t use it that much) just to check if it works.
I created that file on both all devices, let me just give 2 but the one on my 4k seems to be empty now.
On my pi it says
All looks good to me. I don’t think there is a lot you you do about the download speed (could try a different server) other than trying a config with a weaker encryption.
I’m used to it honestly, PIA went to NextGen, More protection, More speed. Well, I went from a 33MB/s download to a 2-3MB;/s download haha. It’s the same on every server, just have to wait and see what happens with them because it’s clearly a server problem (sometimes it spikes and I get 22MB/s but that’s just sometimes).
I don’t really need a fast DL on these boxes, all they need to do is check TVDB, TMDB, XEM and update trakt, so it’s pretty fast enough for that I think?