Skip to content
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

User friendliness: automatically adjust parameter lua/net.lua:front_mtu #722

Open
AltraMayor opened this issue Dec 19, 2024 · 0 comments
Open

Comments

@AltraMayor
Copy link
Owner

AltraMayor commented Dec 19, 2024

The configuration file lua/net.lua comes with the parameters front_mtu = 1500 and back_mtu = 2048, which is the proper setting for Gatekeeper servers, but not for Grantor servers. Grantor servers do not have a back net, and their front net should have an MTU of 2048.

Passing the parameter gatekeeper_server of lua/main_config.lua to netf() (i.e., the function that lua/net.lua returns) enables lua/net.lua to correctly set the parameters front_mtu accordingly to the role of the server.

Once this feature is implemented, the wiki page Tips for Deployments must be updated to reflect this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant