Skip to content

Commit

Permalink
Don't need to ACCEPT (breaks NAT)
Browse files Browse the repository at this point in the history
  • Loading branch information
pieterlange committed Dec 19, 2016
1 parent 17c5579 commit 1b00490
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion watch-portmapping.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ while true; do
if [ -d $OVPN_PORTMAPPING ]; then
# Flush any old NAT rules.
iptables -t nat -F KUBEOPENVPNPORTFORWARD
iptables -t nat -A KUBEOPENVPNPORTFORWARD -j ACCEPT

for port in $(ls -1 ${OVPN_PORTMAPPING}); do
dest_cname=$(cut -d':' -f1 ${OVPN_PORTMAPPING}/${port})
Expand Down

0 comments on commit 1b00490

Please sign in to comment.