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:
This issue duplicates #549
See my comments in that issue for a temporary workaround.
Sorry, something went wrong.
Fix PreUp, PostUp, PreDown, and PostDown
2084a81
* Escaping HTML in several places. * Adds PreUp config when one didn't exist. * Adds environment variable support for PreUp and PreDown. closes ngoduykhanh#549 closes ngoduykhanh#655 closes ngoduykhanh#656 See also -------- - samrocketman/addons-homeassistant#9 Co-authored-by: Robert Willert <[email protected]>
Successfully merging a pull request may close this issue.
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: