-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autopause function #2115
Comments
You will need to allow/restrict IP addresses at your internet router or some other routing point prior to the container. Any whitelisting within the Minecraft server won't help because...it has to be unpaused to process and block the connections. |
That´s unfortunately what I feared, is there a way to do container specific IP firewallling perhaps? |
I decided to switch away from docker iptables rules to ufw and opened the minecraft port for just the a single users IP using UFW. |
For those that would like to use UFW to solve this please read this I ended up limiting IP access at the router level. |
Great solution using UFW and that was exactly the answer to your question of container specific firewall. |
For the people where that may not be an option it might be cool to implement the likes of https://github.com/timvisee/lazymc |
Very interesting concept, @indykoning . I could use the https://github.com/itzg/mc-router/tree/master/mcproto bits and tie that into start/stop logic in https://github.com/itzg/mc-server-runner/tree/master ... |
This issue is stale because it has been open 30 days with no activity. Please add a comment describing the reason to keep this issue open. |
I'm using the autopause feature successfully, however I notice in the logs endless wakeups from random access attempts (I'm runnning a user whitelist).
Endless knock attempts from random IP's are sort of defeating the purpose of the pause, what would be a good way to mitigate this behaviour?
The text was updated successfully, but these errors were encountered: