Sanjeev "Ghane" Gupta wrote:

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?



Sir, Don't forget you are telling your solution to an electrician, :) I would appreciate if your could elaborate more.
where to use this redir...what it is ..your solution seemes to be *discovery* for me.


[EMAIL PROTECTED] root]# man redir
No manual entry for redir
[EMAIL PROTECTED] root]#

man xinetd.conf
nothing related to redir.


Regards, -Yash


PS: we have two locations , A & B.... Now B is a VPN port which is not exposed to Real IP world, It can only reach to our Real IP Pool at A.
So i was just wondering how the ppl at B location can be routed to citrix servers of Online world.


--
Sanjeev

_______________________________________________
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[EMAIL PROTECTED]/






_______________________________________________
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[EMAIL PROTECTED]/

Reply via email to