[Fedora-directory-users] instance listening on multiple ports

Jonathan Barber j.barber at dundee.ac.uk
Wed May 21 07:47:24 UTC 2008


On Wed, May 21, 2008 at 04:55:27PM +1000, Luke Bigum wrote:
> Hello,
> 
> I was wondering if there's a way to get a single FDS instance to
> listen on more than one port? There's some horrible routing rules I'm
> trying to dodge in my network by sending replication to one port and
> normal queries to another.

I don't know if it's possible for FDS, but you could use an iptables nat table prerouting rule.
e.g. redirect 1389 to 389 on interface eth0 (untested):
iptables -t nat -A PREROUTING -i eth0 -p tcp -m tcp --dport 1389 -j REDIRECT --to-ports 389

> Thanks,
> 
> -Luke
> 
> --
> Luke Bigum
> Systems Administrator
> iseek Communications Pty Ltd
> Excellence in business data solutions
> ph 1300 661 668 fax 1300 661 540
> www.iseek.com.au<http://www.iseek.com.au/>
> 

> --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users


-- 
Jonathan Barber
High Performance Computing Analyst
Tel. +44 (0) 1382 386389




More information about the Fedora-directory-users mailing list