Hi I have re compiled amanda client on the server that sits outside of
my LAN with the following port range. --with-udpportrange=1100,11030
Thus you stating that it must be a system udp port range i.e < 1023
If So I have Unassigned range -f 1001-1009 So I would use this when I re
compile a udp system port range --with-udpportrange=1001,1009 Does the
tcp port range stay the same. --with-tcpportrange=1100,11030 .
My IPChain example.
ipchains -A input -p udp -i -s $193.XXX.XXX.XXX{AMANDA_CLIENT} 1001:1009
--dport $192.168.1.XXX{AMANDA_SERVER} -j ACCEPT
ipchains -A input -p tcp -i -s $193.XXX.XXX.XXX {AMANDA_CLIENT}
10080:10083 --dport $192.168.1.XXX{AMANDA_SERVER} -j ACCEPT
CheersOn Tue, 2006-02-14 at 10:44 +0100, Paul Bijnens wrote:
> On 02/14/2006 10:25 AM, Chuck Amadi Systems Administrator wrote:
> > Hi Agian
> >
> > I am re compiling my amanda client thus after running the switch
> >
> > --with-udpportrange=11000,110030 and --with-tcpportrange=11000,110030
> >
> > I edit the /etc/services on the amanda client and add the following:
> >
> > # Leave this lot intact:
> > amanda 10080/tcp # Amanda
> the 10080/tcp is not used.
>
> > amanda 10080/udp # Amanda
> > amandaidx 10082/tcp
> > amidxtape 10083/tcp
> >
> > # Check that these port ranges are Unassigned.
> > amanda 11000-11030/tcp # Amanda
> > (--with-tcpportrange=11000,110030)
> > amanda 11000-11030/udp # Amanda
> > (--with-udpportrange=11000,110030)
>
> I think these two will give a syntax error in /etc/services :-)
>
> You cannot give a name to a range (and the name "amanda" must
> be for the 10080/udp port!)
>
> Moreover, it is not strictly needed that the range is unassigned.
> When Amanda wants to use a port in the range that is already in
> use by something else, it will simply skip that port.
> But because you need 3 tcp connections for each dump in parallel,
> ("inparallel" in amanda.conf) you must add some extra ports in
> the range to take into account the ports that are already in use.
>
>
>
--
Unix/ Linux Systems Administrator
Chuck Amadi
The Surgical Material Testing Laboratory (SMTL),
Princess of Wales Hospital
Coity Road
Bridgend,
United Kingdom, CF31 1RQ.
Email chuck.smtl.co.uk
Tel: +44 1656 752820
Fax: +44 1656 752830
|