• 0 Posts
  • 17 Comments
Joined 2 years ago
cake
Cake day: July 1st, 2023

help-circle


  • Assuming your vpn provides a stable remote IP, your client connection needs to use that. Try “whatsmyip” or similar over the vpn. The remote address almost certainly won’t appear in the local output of ip a.

    Locally, listen on the “this host”, 0.0.0.0.

    You may need to check your firewall locally.

    You don’t need to run your http service to troubleshoot - simple tools like netcat can listen for incoming requests - nc -l 0.0.0.0 8000 or what-have-you.

    Finally: you might want to look at using a shell host as the client rather than targeting your vpn ip from your local host, just to take hairpin connections out of consideration when troubleshooting.












  • I’d be cautious about the “kill -9” reasoning. It isn’t necessarily equivalent to yanking power.

    Contents of application memory lost, yes. Contents of unflushed OS buffers, no. Your db will be fsyncing (or moral equivalent thereof) if it’s worth the name.

    This is an aside; backing up from a volume snapshot is half a reasonable idea. (The other half is ensuring that you can restore from the backup, regularly, automatically, and the third half is ensuring that your automated validation can be relied on.)