FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Directory

 
 
LinkBack Thread Tools
 
Old 05-21-2008, 07:47 AM
Jonathan Barber
 
Default instance listening on multiple ports

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

Thread Tools




All times are GMT. The time now is 09:23 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org