I installed pterodactyl panel (software that uses docker and creates game servers with a web interface) but I can't connect to any servers that I create on it. My dedicated server is connected to 2 wireguard servers and it is probably something to do with them.
My peer configs:
Wg0.conf
[Interface]
PrivateKey = (key)
Address = 10.0.0.2/32
Table = 100
PreUp = ip rule add from 10.0.0.2 table 100 priority 123
PostDown = ip rule del from 10.0.0.2 table 100 priority 123
[Peer]
PublicKey = (key)
Endpoint = (IP):51821
AllowedIPs = 0.0.0.0/0
PersistentKeepalive = 25
Wg1.conf
PrivateKey = (key)
Address = 10.1.0.2/32
Table = 101
PreUp = ip rule add from 10.1.0.2 table 101 priority 124
PostDown = ip rule del from 10.1.0.2 table 101 priority 124
[Peer]
PublicKey = (key)
Endpoint = (IP):51822
AllowedIPs = 0.0.0.0/0
PersistentKeepalive = 25
When I run any other programs (like ssh) outside of docker they work flawlessly and the issue starts when I try to connect thru the wireguard server to the docker container (even the daemon connection works).
I also installed tcpdump and I see packets coming thru wireguards interfaces but they can't reach the Minecraft server that I have running on pterodactyl (docker).
Thanks in advance!