![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://lemmy.world/pictrs/image/8286e071-7449-4413-a084-1eb5242e2cf4.png)
11·
1 year agoI’ve used wireguard for a few years. The container isn’t essential, but I prefer to have all my service configs contained and separate from the host OS.
So basically you’ll just have one WAN->LAN port forward for Wireguard. Connect to that remotely, and you’ll be able to access everything inside your LAN.
I used https://github.com/ksurl/Shreddit
Here’s a quick bash script in case you have multiple accounts and want to run the delete on a schedule. Run it under a dedicated service account or modify the script to use venv or pipenv.
#!/usr/bin/env bash set -euo pipefail cd ~ || exit $? [[ "$PATH" =~ (^|:)'~/.local/bin'(:|$) ]] || export PATH="~/.local/bin:$PATH" command -v shreddit > /dev/null || python3 -m pip install --user --upgrade pip Shreddit@git+https://github.com/ksurl/Shreddit.git while read -r acct; do echo shreddit -u "$acct" shreddit -u "$acct" done < <( sed -E '/^\[/!d; s/\[|\]//g' praw.ini )