LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Universal UDP Redirect? (https://www.linuxquestions.org/questions/linux-server-73/universal-udp-redirect-938100/)

AsadMoeen 04-04-2012 11:29 AM

Universal UDP Redirect?
 
Well here is a script for UDP Redirect.

http://brokestream.com/udp_redirect.html


The problem or should say Limitation in the script is that, it only works for a single user. As long as one user is connected through the redirect, the other user gets disconnected.

So could anyone make it some universal working script that would work for all incoming connections at parallel?

kbp 04-04-2012 06:37 PM

If you'd like to have a go at it yourself, beej's guides are a good read http://beej.us/guide/bgnet/.

chrism01 04-05-2012 12:55 AM

Have you looked at this http://www.linuxtopia.org/online_boo...rappers-xinetd specifically "42.5.4.3.3. Binding and Redirection Options" , which seems to do what you want already ?

AsadMoeen 04-05-2012 04:39 AM

I think it would do but it supports redirecting to an IP:Port but I see it just accepts incoming connections on IP.

So how would that bind to a specific port as well?

AsadMoeen 04-06-2012 12:26 AM

So how'd that be used?

UDP Redirect script I believe by using dynamic memory pointer allocation can do the job if someone edited it.


All times are GMT -5. The time now is 04:11 AM.