E
E
elisey4742016-09-25 15:06:35
linux
elisey474, 2016-09-25 15:06:35

How to kill all samba connections with one command (on the server)?

Is there something like samba-kill-all so that if you enter it in the samba server terminal, then all connections to it are broken?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2016-09-25
@idskill

/sbin/iptables -A INPUT -p tcp --destination-port {PORTNUMBER} -j DROP

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question