Networking Forums

Networking Forums > Computer Networking > Linux Networking > udp data redirecting

Reply
Thread Tools Display Modes

udp data redirecting

 
 
bubzilla
Guest
Posts: n/a

 
      05-10-2006, 12:45 PM
Hi

im using: iptables -t nat -A PREROUTING -p -tcp --dport 544 -j REDIRECT
--to-port 9999

to redirect tcp packets to an loaclhost port on a proxy, which normaly
would be routed to a server. Now this works fine. When im sending a tcp
packet back to the client over the registrated socket the proxy has the
identity of the server, so i set the proxy transparent for the client.

now i want to do the same thing with UDP-Data. But im not sure if it
works. Normally i just would use the command:
iptables -t nat -A PREROUTING -p -udp --dport 12000 -j REDIRECT
--to-port 12999

but the difference is, that the tcp-data stream is init for the client
and the udp-data is not.

so, is it posible to use iptables, to send data from a udp-sockt of the
proxy with the identity of a server to a client?

thanks

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Redirecting to another IP does not work. I_Am_The_Walrus Wireless Networks 0 05-23-2008 01:26 AM
redirecting packets david.toneian@gmail.com Linux Networking 5 12-17-2006 02:03 PM
redirecting an FTP request? laredotornado@zipmail.com Linux Networking 2 10-08-2005 01:40 AM
redirecting clients to new server after data move Phil McNeill Windows Networking 1 09-12-2005 06:51 PM
Redirecting com ports Jeff Jacobson Windows Networking 0 02-11-2004 01:29 AM



1 2 3 4 5 6 7 8 9 10 11