Networking Forums

Networking Forums > Computer Networking > Linux Networking > iptables rule for ssh port forwarding

Reply
Thread Tools Display Modes

iptables rule for ssh port forwarding

 
 
Nicola Gatti
Guest
Posts: n/a

 
      01-27-2004, 10:38 AM
I'm using a program that streams video using both UDP packets for data and
TCP for control,i want to ssh the tcp data but if I do an ssh tunnel and I
put localhost as destination in my video streaming software,the tcp
handshaking is ok but then also the UDP data is sent to localhost and I
don't want that! So I was thinking about an iptables rule (after having
created the ssh tunnel) that sends all the tcp packets directed to a certain
port(the video client's port ),to my localhost instead of the real
destination,in this way the videostreaming software would send the udp
packets to the correct address and the tcp packets to the encrypted
tunnel... what would be this rule?


 
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
IPTables port forwarding Miguel Sanders Linux Networking 1 10-11-2007 12:19 PM
iptables rule to block external, but accept local port (8009) connection OtisUsenet Linux Networking 1 02-14-2006 08:10 AM
iptables port forwarding anonymous Linux Networking 1 01-22-2004 09:25 AM
iptables port forwarding Jason Lee Linux Networking 4 10-13-2003 12:53 AM
Port Forwarding with iptables Allan Bruce Linux Networking 0 08-27-2003 11:44 AM



1 2 3 4 5 6 7 8 9 10 11