Yashpal Nagar wrote:
> Dear Linux fans,
>
> I have a peculiar requirement, i want different-different IPs(binded
> to same interface) to forward ica connections to different-different
> hosts. :)
>
> let me write it more clear. e.g
>
> 192.168.168.1 ---> port 1494 -> Real IP host 1
> 192.168.168.2 ---> port 1494 -> Real IP host 2
> 192.168.168.3 ---> port 1494 -> Real IP host 3
>
>
> All the IPs 192.168.168.1 , 192.168.168.2 & 192.168.168.3 are binded
> to same interface card
> as eth0, eth0:1 & eth0:2
>
> This port forwarding i am doing by xinetd through redirect rule.
> Can i build xinetd fwding rules on per IP basis with same port , how?
Use "redir", it can bind to a particular address
redir --laddr 192.168.168.1 --lport 1494 --caddr RealIP1 --cport 1494
What are you trying to do?
--
Sanjeev
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help