IPTABLES SETTINGS to Allow Tivoli

# Tivoli Ports to accept from any
iptables -A INPUT -p tcp -m tcp –sport 9494:9495 -j ACCEPT
iptables -A INPUT -p tcp -m tcp –dport 9494:9495 -j ACCEPT


# Tivoli Ports limited by TIVOLI chain
iptables -A INPUT -p tcp -m tcp –sport 9494:9495 -j TIVOLI
iptables -A INPUT -p tcp -m tcp –dport 9494:9495 -j TIVOLI

iptables -A TIVOLI -s src-tiv-IP -j ACCEPT
iptables -A TIVOLI -d dst-tiv-IP -j ACCEPT
iptables -A TIVOLI -j REJECT -- reject-with icmp-port-unreachable

No comments: