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 DESTINATION as a filter for stanzas as well as ENABLE_DESTINATION_RU... #140

Closed
wants to merge 1 commit into from

Conversation

DigitalDJ
Copy link
Contributor

...LE which will explicitly set the destination in the firewall rule

access.conf stanzas can now also include a DESTINATION, which will only activate that stanza if destination IP in the SPA packet IP header matches the set in the stanza list. This essentially works exactly the same way the SOURCE directive does (except that it does not dictate a new stanza).

In addition, ENABLE_DESTINATION_RULE controls whether fwknopd will set the destination field on the firewall rule to the destination address specified on the incoming SPA packet. This is useful for interfaces with multiple IP addresses hosting separate services. If ENABLE_IPT_OUTPUT is set to "Y", the source field of the firewall rule is set. FORWARD and SNAT rules are not affected however, DNAT rules will also have their destination field set. The default is "N", which sets the destination field to 0.0.0.0/0 (any).

…_RULE which will explicitly set the destination in the firewall rule
@DigitalDJ DigitalDJ closed this Nov 29, 2014
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.

1 participant