I am using a narc to generate iptables rules and I have the rules below in
/etc/narc/narc-custom.conf to allow an amanda server to communicate with
a local client. The problem is that even though those rules are being
applied (checked with iptables -L), they don't produce a desired effect.
Amanda's known to use random higher ports and that's why I have 'RELATED'
in my rules. amcheck works fine though. Could anybody help?
best,
/sbin/iptables -A INPUT -p tcp -s xxx.xxx.xxx.xxx -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT
/sbin/iptables -A INPUT -p udp -s xxx.xxx.xxx.xxx -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT
Nobuki Matsui
SRRB CIRES/NOAA