There are such rules for iptables:

enter image description here

I thought that this way everything should be cut, and access will be open only to one IP address. But in fact, he does not ping. Tell me, what's the problem?

  • MedGel? he pinged. - Boris
  • with such rules does not ping ((( - Natalya S.
  • right now what are the rules? Now ping is quite a go. - Boris
  • Please enter the text of the rules for iptables in the question text. Images are not very suitable for textual information. - Timofei Bondarev
  • I apologize, damn it ... I had to iptables -A OUTPUT -d IP -j ACCEPT and then drop. Not only did I drop the first one, so I confused the destination with the source ... noob noob .. - Natalia S.

0