Files
kilo/pkg/iptables
leonnicolas 08eea4f3c1 pkg/*: use wireguard.Enpoint
This commit introduces the wireguard.Enpoint struct.
It encapsulates a DN name with port and a net.UPDAddr.
The fields are private and only accessible over exported Methods
to avoid accidental modification.

Also iptables.GetProtocol is improved to avoid ipv4 rules being applied
by `ip6tables`.

Signed-off-by: leonnicolas <leonloechner@gmx.de>
2022-01-30 17:02:46 +01:00
..
2021-02-20 19:24:06 +01:00
2022-01-30 17:02:46 +01:00