Grey
Grey
AAdmincraft
Created by Grey on 7/31/2023 in #questions
Minecraft Docker rewriting IP tables
got it working. had to edit that docker.sh bash script from github because it had bugs. added a if [ "$src_ip" -ne " " ]; then and now I tested it and csf is successfully blocking access to port 443 if I add my ip to the deny list. If anyone is curious exactly what I did, pm me. I am still a total iptables noob and don't understand what is going on, but atleast csf and lfd are infront of docker and the minecraft server is working
12 replies
AAdmincraft
Created by Grey on 7/31/2023 in #questions
Minecraft Docker rewriting IP tables
this was a typo on my part, should have been 127.0.0.1
12 replies
AAdmincraft
Created by Grey on 7/31/2023 in #questions
Minecraft Docker rewriting IP tables
If there are any IPtables wizards out there that can help explain, please help me out
12 replies
AAdmincraft
Created by Grey on 7/31/2023 in #questions
Minecraft Docker rewriting IP tables
Going to give this a try https://github.com/juli3nk/csf-post-docker kind of a shock to me that all of my docker containers have been this exposed and I have not known about it. Luckily it has just been development stuff and not production
12 replies
AAdmincraft
Created by Grey on 7/31/2023 in #questions
Minecraft Docker rewriting IP tables
Getting
Error response from daemon: driver failed programming external connectivity on endpoint mc (b7721ecdb6fd15e2f145138c5c6a12e177b5c0da0fbdb45c0504fe35a22b9303): Error starting userland proxy: listen tcp4 172.0.0.1:25565: bind: cannot assign requested address
Error response from daemon: driver failed programming external connectivity on endpoint mc (b7721ecdb6fd15e2f145138c5c6a12e177b5c0da0fbdb45c0504fe35a22b9303): Error starting userland proxy: listen tcp4 172.0.0.1:25565: bind: cannot assign requested address
12 replies
AAdmincraft
Created by Grey on 7/31/2023 in #questions
Minecraft Docker rewriting IP tables
ip a shows that docker0 is 172.17.0.1 should I set it to that? the other bridge device shows 172.18.0.1
12 replies
AAdmincraft
Created by Grey on 7/31/2023 in #questions
Minecraft Docker rewriting IP tables
would it be like that in docker-compse.yml too? I think because I am using docker compose and an nginx proxy container as well, it is using a docker proxy service that does not play nice with CSF
12 replies