We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The PostUp Script gets truncated - probably while it is written to wireguard-ui's database
This results in the following error during Wireguard startup:
Dec 18 06:07:02 wireguard wg-quick[133303]: [#] nft add table ip filter; nft add chain ip filter forward { type filter hook forward priority 0 \; }; nft add rule ip fil> Dec 18 06:07:02 wireguard wg-quick[133366]: Error: syntax error, unexpected newline Dec 18 06:07:02 wireguard wg-quick[133366]: add rule ip filter forward iif Dec 18 06:07:02 wireguard wg-quick[133366]: ^ Dec 18 06:07:02 wireguard wg-quick[133303]: [#] ip link delete dev wg0
Our PostUp Script nft add table ip filter; nft add chain ip filter forward { type filter hook forward priority 0 \; }; nft add rule ip filter forward iif "wg0" accept; nft add table ip nat; nft add chain ip nat postrouting { type nat hook postrouting priority 100 \; }; nft add rule ip nat postrouting oif "eth0" masquerade
nft add table ip filter; nft add chain ip filter forward { type filter hook forward priority 0 \; }; nft add rule ip filter forward iif "wg0" accept; nft add table ip nat; nft add chain ip nat postrouting { type nat hook postrouting priority 100 \; }; nft add rule ip nat postrouting oif "eth0" masquerade
If your check the config file for on the server now, the PostUp script is truncated.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Situation
The PostUp Script gets truncated - probably while it is written to wireguard-ui's database
This results in the following error during Wireguard startup:
Dec 18 06:07:02 wireguard wg-quick[133303]: [#] nft add table ip filter; nft add chain ip filter forward { type filter hook forward priority 0 \; }; nft add rule ip fil> Dec 18 06:07:02 wireguard wg-quick[133366]: Error: syntax error, unexpected newline Dec 18 06:07:02 wireguard wg-quick[133366]: add rule ip filter forward iif Dec 18 06:07:02 wireguard wg-quick[133366]: ^ Dec 18 06:07:02 wireguard wg-quick[133303]: [#] ip link delete dev wg0
Our PostUp Script
nft add table ip filter; nft add chain ip filter forward { type filter hook forward priority 0 \; }; nft add rule ip filter forward iif "wg0" accept; nft add table ip nat; nft add chain ip nat postrouting { type nat hook postrouting priority 100 \; }; nft add rule ip nat postrouting oif "eth0" masquerade
Reproduce
If your check the config file for on the server now, the PostUp script is truncated.
The text was updated successfully, but these errors were encountered: