I have UFW set up to accept traffic across Port 42000, which is what Warpinator is using. Is there a way I can restrict that further to only computers on the internal network instead of leaving that port wide open to the world at large?
31 Answer
You can set up UFW rules like that. For example, these rules allow access to port 22 only from my LAN and VPN. (the default is DENY)
22 ALLOW 192.168.1.0/24
22 ALLOW 10.8.0.0/24 Reference: