Amanda-Users

Re: iptables script

2005-05-14 17:41:17
Subject: Re: iptables script
From: Joshua Baker-LePain <jlb17 AT duke DOT edu>
To: Tom Brown <tom.brown AT goodtechnology DOT com>
Date: Sat, 14 May 2005 17:29:10 -0400 (EDT)
On Sat, 14 May 2005 at 6:31pm, Tom Brown wrote

> For the first time ever i have to backup a machine over the 'internet' -
> This client is using iptables as its firewall. Does anyone have an iptables
> rule they would like to share that would allow amanda through to be able to
> backup this client?

If you haven't compiled with any "portrange" options, you'll have to do 
something like this:

-A INPUT -p udp -s $AMANDA_SERVER -d 0/0 --dport 10080 -j ACCEPT
-A INPUT -p tcp -m tcp -s $AMANDA_SERVER -d 0/0 --dport 1025:65535 -j ACCEPT

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University

<Prev in Thread] Current Thread [Next in Thread>