diff --git a/rules/10-ar b/rules/10-ar index 888e8a2..d3da618 100644 --- a/rules/10-ar +++ b/rules/10-ar @@ -1,4 +1,4 @@ #!/bin/bash rules() { - iptables --table nat $append PREROUTING -p tcp --dport 2020 -j REDIRECT --to-host 10.24.20.20 --to-port 22 + iptables --table nat $append PREROUTING -p tcp --dport 2020 -j REDIRECT --to-destination 10.24.20.20:20 }