128
contributi
Riga 38: | Riga 38: | ||
Diamo le opportune regole al firewall: | Diamo le opportune regole al firewall: | ||
<pre> | <pre> | ||
iptables -A INPUT -p udp | Sul server: | ||
iptables -A INPUT -p udp �dport 5000 -s 10.0.0.0/24 -m state �state NEW,ESTABLISHED,RELATED -j ACCEPT | |||
iptables -A FORWARD -s 10.0.0.0/24 -j ACCEPT | iptables -A FORWARD -s 10.0.0.0/24 -j ACCEPT | ||
Sui client: | |||
iptables -A INPUT -p udp dport 5000 -s 10.0.0.0/24 -m state state NEW,ESTABLISHED,RELATED -j ACCEPT | |||
</pre> | </pre> | ||
contributi