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

Add MTU to client configs #214

Merged
merged 2 commits into from
Sep 30, 2022

Conversation

MarcusWichelmann
Copy link
Contributor

@MarcusWichelmann MarcusWichelmann commented Aug 4, 2022

This PR extends the client config generation code to add the MTU from the global settings to make sure both sides use the same MTU.

[Interface]
Address = 10.252.1.1/32
PrivateKey = ...
DNS = 1.1.1.1
MTU = 1450
FwMark = 0xca69

[Peer]
PublicKey = ...
PresharedKey = ...
AllowedIPs = 0.0.0.0/0
Endpoint = ...
PersistentKeepalive = 15

@ngoduykhanh ngoduykhanh merged commit 29b017f into ngoduykhanh:master Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants