AlpacaChariot,

Maybe iptables-persistent would work for you?

Or if you use something like UFW you can add whatever iptables rules you like to /etc/ufw/after.rules.

gataloca,

Set up a systemd service.

nbailey,
@nbailey@lemmy.ca avatar

iptables-save > /etc/iptables/rules.v4

Or install iptables-persistent if you’re on a Debian-derivative system.

linux.die.net/man/8/iptables-save

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • wartaberita
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • [email protected]
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • TheResearchGuardian
  • Ask_kbincafe
  • KbinCafe
  • Testmaggi
  • Socialism
  • feritale
  • oklahoma
  • SuperSentai
  • KamenRider
  • All magazines