diff --git a/rules/10-ar b/rules/10-ar index d3da618..f7c4b8f 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-destination 10.24.20.20:20 + iptables --table nat $append PREROUTING -p tcp --dport 2020 -j DNAT --to-destination 10.24.20.20:20 }