We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b24d71 commit 8d39a13Copy full SHA for 8d39a13
AnyConnect/redirect/redirectCmd.sh
@@ -30,5 +30,5 @@ RemotePort="$(echo ${RemoteAddress} |cut -d: -f2 |grep -o '[0-9]\{1,5\}')"
30
31
iptables -I INPUT -p tcp --dport ${LocalPort} -j ACCEPT
32
iptables -t nat -A PREROUTING -p tcp -i ${LocalIf} --dport ${LocalPort} -j DNAT --to-destination ${RemoteHost}:${RemotePort}
33
-iptables -t nat -I POSTROUTING -d ${RemoteHost} -p tcp --dport ${HostPort} -j MASQUERADE
+iptables -t nat -I POSTROUTING -d ${RemoteHost} -p tcp --dport ${RemotePort} -j MASQUERADE
34
0 commit comments