-
Notifications
You must be signed in to change notification settings - Fork 368
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We add a new methods to build iptables entries: `SetTargetDNATToDst`, which sets the DNAT destination IP and port. We also make changes to existing methods: - `MatchIPSetSrc` and `MatchIPSetDst` now have an ipset type parameter. - `MatchDstPort` and `MatchSrcPort` are renamed to `MatchPortDst` and `MatchPortSrc` respectively, for consistency. Signed-off-by: Hongliang Liu <[email protected]>
- Loading branch information
1 parent
2daf12a
commit 676fc98
Showing
4 changed files
with
81 additions
and
24 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
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
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
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