Re: instance listening on multiple ports

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/fedora-directory-users


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

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

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux