I
I
Intelide2016-10-11 21:05:55
ubuntu
Intelide, 2016-10-11 21:05:55

How to return the network to the container?

Good afternoon.
I set up openvpn, as a result, pings to the container disappeared, although it connects via ssh and pings from the container itself go.
/etc/iptables.rules

# Generated by iptables-save v1.4.21 on Tue Oct 11 16:49:17 2016
*nat
:PREROUTING ACCEPT [53:3180]
:INPUT ACCEPT [7:420]
:OUTPUT ACCEPT [6:438]
:POSTROUTING ACCEPT [6:438]
-A POSTROUTING -s 10.128.0.0/24 -j SNAT --to-source 52.89.224.250
COMMIT
# Completed on Tue Oct 11 16:49:17 2016
# Generated by iptables-save v1.4.21 on Tue Oct 11 16:49:17 2016
*filter
:INPUT ACCEPT [4:400]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [36:4012]
:fail2ban-ssh - [0:0]
-A INPUT -p tcp -m multiport --dports 22 -j fail2ban-ssh
-A fail2ban-ssh -s 180.97.244.253/32 -j REJECT --reject-with icmp-port-unreachable
-A fail2ban-ssh -j RETURN
COMMIT
# Completed on Tue Oct 11 16:49:17 2016

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
moropsk, 2016-10-11
@moropsk

Fail2ban does not have its own ip?
tail -n 100 /var/log/fail2ban.log |grep Ban

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question