Commit 68ab026e authored by iSergio's avatar iSergio
Browse files

iptables rules for disable modcluster multicast

parent a24b3636
Loading
Loading
Loading
Loading

jboss/iptables.sh

0 → 100755
+16 −0
Original line number Diff line number Diff line
#!/bin/sh
iptables -A OUTPUT -p udp -d 224.0.1.105/32 -j DROP -m comment --comment "Disable modcluster multicast"
iptables -A OUTPUT -p udp -d 230.0.0.4/32 -j DROP -m comment --comment "Disable jgroups-mping and jgroups-udp multicast"
iptables -A OUTPUT -p udp -d 231.7.7.7/32 -j DROP -m comment --comment "Disable messaging-group multicast"

iptables -A INPUT -p udp -d 224.0.1.105/32 -j DROP -m comment --comment "Disable modcluster multicast"
iptables -A INPUT -p udp -d 230.0.0.4/32 -j DROP -m comment --comment "Disable jgroups-mping and jgroups-udp multicast"
iptables -A INPUT -p udp -d 231.7.7.7/32 -j DROP -m comment --comment "Disable messaging-group multicast"

# Reset all
#iptables --policy INPUT   ACCEPT
#iptables --policy OUTPUT  ACCEPT
#iptables --policy FORWARD ACCEPT
#iptables -Z
#iptables -F
#iptables -X