I have a laptop I take with me that has UFW. I want to allow Syncthing from my home subnet and another place. Is there a way I can do that without allow from anywhere?
Additionally, is the default ufw allow service-name/port, where it allows from anywhere, insecure? Like, does it open the port to the internet, for anyone to see or connect to?


Maybe: https://xyproblem.info/ ?
If you want to use syncthing remotely tha the answer is probably wireguard/other vpn.