I’m not great with Docker or networking, so when I picked up an n100 mini pc for self hosting I installed Ubuntu and Tipi to get started.
I used Tipi to install Immich and forwarded my ports, then setup cloudflare tunneling to expose it to the internet. Currently I’m migrating from Google Photos.
But since I’m new to this I’m worried about exposing Immich to the internet without really knowing what I’m doing. Any suggestions on ways to monitor my setup to make sure nothing goes wrong or gets hacked? Ideally any application suggestions would come from the Tipi app store but I’m willing to learn if there’s no other option. Thanks!
Thanks to everyone who took the time to answer. How do I check if my server has been accessed?
trough ssh when you connect to your machine run :
lastb -10
This will show you the last 10 login failed attemps you can change to 20 or whatever
you can also run: last -10 to see the last successful logged in
use :
more history
to see all the commands that someone have typed
on the dir /var/logs you have a lot of another logs too
for more paranoid level use
netstat -a
This will show you all incoming and outgoing communications
and like the others said considere using firewall and fail2ban
Note: don’t relly to much on firewalls since they are easy to bypass
keep all softwares updated
read frequently about new vulnerabilities if there is some vulnerability that affects your software until gets patched turn of that service.
Thank you!
Have a look at Tailscale for your devices, this will prevent you from having to expose anything to the Internet, but rather having it behind your own VPN solution. Tailscale is the kinda service that is stupid easy to get going with too. HIGHLY recommend it!
Thanks! I set it up last night after getting advice here!
Hey don’t mean to hijack, I know tailscale isnt necessarily a tunnel (correct me if I’m wrong) but does it provide the typical issues with apps like android auto not working while connected to a VPN?
Neber tried it with Android Auto before, but I doubt it would, it’s a mesh vpn - not a typical vpn(proxy). So Tailscale is mostly for connecting your own devices together, however it’s possible that configure it to use Mullvad for exit nodes, if needed.
You just don’t and pray for the best /j
- create empty debit account
- place credentials to account in server’s home directory
- if you get a call from your new account’s bank, they’ve got your server
This is honeypot security and is a best practice
/s