T
T
T_y_l_e_r2016-10-06 19:36:11
linux
T_y_l_e_r, 2016-10-06 19:36:11

How to disable all traffic through iptables?

How to completely disable all incoming and outgoing traffic through iptables?
And how to check that nothing is siphoning?
The task is to disable everything and allow only receiving and sending traffic through vpn.
Who can help with the task? (not for free)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Burov, 2016-10-06
@BuriK666

iptables -F INPUT
iptables -P INPUT DROP

iptables -F OUTPUT
iptables -P OUTPUT DROP

well, then add rules for connecting to the VPN and for traffic in the VPN itself

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question