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
Shorewall MASQ file gets appended to SNAT file #2067
Comments
That sounds like a bug! Can you attach a screenshot of the page on which you're adding a Masquerading rule? |
Can you post the line that was added to the SNAT file? |
Not sure why this is getting so complicated. It's just writing to the wrong file. After the entry is made, the file /etc/shorewall/masq is empty. The file /etc/shorewall/snat now has the following:
Sorry about the formatting, |
The line "Rules generated from masq file /etc/shorewall/masq" seems like it could be a pointer to the issue. Webmin isn't doing this though, and I can't re-produce this on my test systems.. |
I can reproduce it consistently, and reproduced it on another machine as well. Is it possible it's not "webmin" but the Shorewall plug-in pointing to the wrong file? Is there a force refresh of plug-ins? |
When adding a Masquerading rule in Shorewall, the entry is then added to the /etc/shorewall/snat file instead of the /etc/shorewall/masq file. The entry is no longer seen in the Masquerading edit rule. It also does not appear in the edit Static NAT rule. In looking at the masq file, it's empty and the entry is in the snat file. Shorewall does process the rule, but there is no way to see it or edit it within Webmin, but only if the snat file is edited in the shell.
The text was updated successfully, but these errors were encountered: