You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: wsuks/lib/router.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ def start(self):
31
31
nft 'add rule ip wsuks wsuks-nat ip saddr <TARGET-IP> tcp dport <WSUKS-PORT> dnat ip to <HOST-IP>'
32
32
"""
33
33
self.isRunning=True
34
-
self.logger.info(f"Configure nftables for NATing incoming packages from {self.targetIp} with source{self.wsusIp}:{self.wsusPort} to {self.hostIp}")
34
+
self.logger.info(f"Configure nftables for NATing incoming packages from {self.targetIp} with destination{self.wsusIp}:{self.wsusPort} to {self.hostIp}")
35
35
36
36
self.nft.cmd("add table ip wsuks")
37
37
self.nft.cmd("add chain ip wsuks wsuks-nat { type nat hook prerouting priority dstnat; policy accept; }")
0 commit comments