Closed lennarkivistik closed 4 years ago
I thought i had gotten it to work without any changes to the original file so closed the issue but sadly I had removed - not openvpn_server
line and saved so it looked like it worked.
sorry for the closing and opening the issue.
What version of the role do you use? Try the devel version.
Yes was using the development branch
https://github.com/Stouts/Stouts.openvpn/blob/develop/tasks/system/firewall.yml
It was in this commit i see that the logic was reversed https://github.com/Stouts/Stouts.openvpn/commit/bfce548c81a9330b80effced97aca7586a2d2065#diff-d29651c5eddf846629546ae0d73f6bcd
so instead of openvpn_server variable being set then it will add the masquerade it will only run when it is not set, which would be never as you always need the openvpn_server variable.
I had pushed some commits that addressed these issues about a month ago but I had pushed them to my personal fork and forgot to push here as well. I just did. Could you try now?
Plus, it added some new features and options.
Yes, now it worked as expected 👯
Glad to hear! Should the issue be closed now?
with the not part in the rule, I can never manage to get the masquerade to be created as the variable openvpn_server is always set as expected, should it not be
- openvpn_server != ''
or am i missing something? or maybe- openvpn_masquerade == true