More explicit iptables for ssh
This commit is contained in:
parent
dbe365c87c
commit
ac535ebbac
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue