-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add OUTPUT firewall rule to handle local traffic
A PREROUTING rule does not apply to traffic originating from the same host, and as a result our redirect doesn't apply when the node holding the API VIP attempts to contact it. This adds an OUTPUT rule to handle that case. The only difference is that it goes to the OUTPUT chain instead of PREROUTING, and a "-o lo" param needs to be added to the rule spec.
- Loading branch information
Showing
1 changed file
with
46 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters