RE: ldirectord question regarding multiple ports

"Andersson Mattias" <[email protected]> Thu, 7 Sep 2006 08:22:46 +0200
Newsgroups gmane.linux.highavailability.ultramonkey
Message-ID <[email protected]>
You will have to use port 0 (zero) that matches all ports, or use
firewall marks to define other combinations.

/Mattias

> -----Original Message-----
> From: [email protected]
[mailto:ultramonkey-users-
> [email protected]] On Behalf Of Brad Willson
> Sent: Wednesday, September 06, 2006 8:54 PM
> To: [email protected]
> Subject: ldirectord question regarding multiple ports
> 
> Given the iptables rule:
> 
> -A INPUT -s 192.xxx.xxx.xxx/255.xxx.xxx.0 -p tcp -m state --state NEW
> -m tcp --dport 50000:50100 -j ACCEPT
> 
> Is it possible to match it up with a ldirectord.cf stanza like this:
> 
> virtual=1xx.xxx.xxx.xxx:50000:50100
>         real=192.xxx.xxx.xxx:50000:50100 masq
>         service=none
>         persistent=600
>         protocol=tcp
>         checkport=50000:50100
>         checktype=connect
> 
> -- or -- is there some other way to define address ranges?
> 
> --
> Brad Willson, Sr. Computer Specialist
> UW GeneTests, UW Box: 358735
> EM: [email protected]
> W: 206.221.4674, C: 425.891.2732
> http://www.genetests.org
> 
> 
> --
> Ultra Monkey - http://www.ultramonkey.org/
> To UNSUBSCRIBE, email to [email protected], with a body:
> unsubscribe ultramonkey-users [email protected]
> where "[email protected]" is YOUR email address.
> 
> 



-- 
Ultra Monkey - http://www.ultramonkey.org/
To UNSUBSCRIBE, email to [email protected], with a body:
unsubscribe ultramonkey-users [email protected]
where "[email protected]" is YOUR email address.