diff options
Diffstat (limited to 'sidecar/tproxy-config')
-rw-r--r-- | sidecar/tproxy-config/src/main/bin/start.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sidecar/tproxy-config/src/main/bin/start.sh b/sidecar/tproxy-config/src/main/bin/start.sh index 758a910..054be93 100644 --- a/sidecar/tproxy-config/src/main/bin/start.sh +++ b/sidecar/tproxy-config/src/main/bin/start.sh @@ -22,6 +22,8 @@ set -x set -eo pipefail +iptables -t nat -A PREROUTING -p tcp -j REDIRECT --to-port 10692 + iptables -t nat -A OUTPUT -p tcp -j ACCEPT -s 127.0.0.1 --dport 61647 iptables -t nat -A OUTPUT -p tcp -j ACCEPT --dport 9042 iptables -t nat -A OUTPUT -p tcp -j ACCEPT --dport 9160 |