Commit 34af35f8f56815926f9794e55fc021269fc51bc5
1 parent
3f6cba98
Exists in
master
and in
36 other branches
No need for clear filters because all filters were discarted
Showing
1 changed file
with
0 additions
and
5 deletions
Show diff stats
utils/reverseproxy_ssh_setup
... | ... | @@ -36,8 +36,3 @@ iptables -F -t nat |
36 | 36 | iptables -t nat -A PREROUTING -d $reverseproxy_ip/32 -p tcp -m tcp --dport 22 -j DNAT --to-destination $integration_ip:22 |
37 | 37 | iptables -t nat -A POSTROUTING -d $integration_ip/32 -p tcp -m tcp --dport 22 -j SNAT --to-source $reverseproxy_ip |
38 | 38 | sysctl -w net.ipv4.ip_forward=1 |
39 | - | |
40 | -# Allow port redirects | |
41 | -iptables -t filter -A INPUT -p tcp -m state --state NEW --dport 22 -j ACCEPT | |
42 | -iptables -t filter -A FORWARD -p tcp -d $integration_ip --dport 22 -j ACCEPT | |
43 | -iptables -t filter -A FORWARD -s $integration_ip -p tcp --sport 22 -j ACCEPT | ... | ... |