when you're configuring iptables but you lock yourself out of your own connection
@eq Firehol had a nice feature of a 'try' mode, which would revert your changes after 30 seconds by default ...
One time I wanted to open all ports so I figured that dropping all rules was a good idea. Never made that mistake again.
@eq I explicitly built myself a tool that looks for my home network's IP address in requests to my server, so if I try to block myself out it tells me no, very politely.
This has saved my train more times than I am comfortable admitting. And it happened often enough that I had to write the tool. >v>
@eq On those Off Days™, I've found it helpful to have something like `sleep 20s && previous_setup.sh &`
That way, you can pkill it if it's fine, and if it's not, then you can get back to debugging 20s later.
ｃｙｂｒｅｓｐａｃｅ: the social hub of the information superhighway
jack in to the mastodon fediverse today and surf the dataflow through our cybrepunk, slightly glitchy web portal