pterodactyl / panel

Pterodactyl® is a free, open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
https://pterodactyl.io
Other
6.7k stars 1.7k forks source link

Wings does not respect docker MTU setting in config.yml when creating pterodactyl0 interface #4376

Closed argonaut-network closed 2 years ago

argonaut-network commented 2 years ago

Current Behavior

Background: Lots of things break on my server when an MTU of more than 1448 is set on any interface. This is something I have no control over, as it is in a data center being colocated.

Currently, every time I delete the pterodactyl_nw network along with the pterodactyl0 interface and force Wings to recreate it, it still uses an MTU of 1500 despite it being set in config.yml according to ifconfig.

Expected Behavior

When running ifconfig, pterodactyl0 should show an MTU of 1448 per my explicit configuration.

Steps to Reproduce

  1. Create brand new Wings instance using docker-compose.
  2. Set MTU using network_mtu option in /etc/pterodactyl/config.yml

Panel Version

1.10.1

Wings Version

1.7.0

Games and/or Eggs Affected

All

Docker Image

All

Error Logs

No response

Is there an existing issue for this?

parkervcp commented 2 years ago

Covered in #2662 You can build a docker network and set wings to use that network.

argonaut-network commented 2 years ago

I'll accept that.