More explicit iptables for ssh
This commit is contained in:
1 parent
dbe365c87c
commit
ac535ebbac
1 file changed
+2
-2
+2
-2
@@ -176,8 +176,8 @@ ip6tables -A INPUT -p udp --dport 1194 -j ACCEPT
|
||||
|
||||
Antwortpakete für eingehende Pakete auf SSH und OpenVPN-Dienst sind erlaubt.
|
||||
\begin{lstlisting}
|
||||
iptables -A OUTPUT -m state --state ESTABLISHED -j ACCEPT
|
||||
ip6tables -A OUTPUT -m state --state ESTABLISHED -j ACCEPT
|
||||
iptables -A OUTPUT -p tcp --sport 22 -m state --state ESTABLISHED -j ACCEPT
|
||||
ip6tables -A OUTPUT -p tcp --sport 22 -m state --state ESTABLISHED -j ACCEPT
|
||||
|
||||
iptables -A OUTPUT -p udp --sport 1194 -j ACCEPT
|
||||
ip6tables -A OUTPUT -p udp --sport 1194 -j ACCEPT
|
||||
|
||||
Reference in new issue
Block a user