From 34af35f8f56815926f9794e55fc021269fc51bc5 Mon Sep 17 00:00:00 2001 From: Sergio Oliveira Date: Mon, 25 May 2015 18:28:48 -0300 Subject: [PATCH] No need for clear filters because all filters were discarted --- utils/reverseproxy_ssh_setup | 5 ----- 1 file changed, 0 insertions(+), 5 deletions(-) diff --git a/utils/reverseproxy_ssh_setup b/utils/reverseproxy_ssh_setup index 0275a29..f55efe1 100755 --- a/utils/reverseproxy_ssh_setup +++ b/utils/reverseproxy_ssh_setup @@ -36,8 +36,3 @@ iptables -F -t nat iptables -t nat -A PREROUTING -d $reverseproxy_ip/32 -p tcp -m tcp --dport 22 -j DNAT --to-destination $integration_ip:22 iptables -t nat -A POSTROUTING -d $integration_ip/32 -p tcp -m tcp --dport 22 -j SNAT --to-source $reverseproxy_ip sysctl -w net.ipv4.ip_forward=1 - -# Allow port redirects -iptables -t filter -A INPUT -p tcp -m state --state NEW --dport 22 -j ACCEPT -iptables -t filter -A FORWARD -p tcp -d $integration_ip --dport 22 -j ACCEPT -iptables -t filter -A FORWARD -s $integration_ip -p tcp --sport 22 -j ACCEPT -- libgit2 0.21.2