-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Are you sure that UDP traffic is being sent across the forwarded port?
I thought that -L was for TCP only (at least I only use it with TCP
services, http, smtp).

I have done something similar with the tunnel (-w) option, but that was
a while ago.

Royce Souther wrote:
> I am trying to open a two way UDP connection between two systesm that
> can only connect via SSH. The systems have matching public and private
> key pairs for SSH without passwords.
> This sort of works for a few seconds the ports are open but very quickly
> all four instances of netcat die. Before I run the netcat commands the
> prots do not show up in netstat, while the netcats are running the ports
> to show up and look to be correct. When the netcats die the ports are
> removed from the netstat listing.
> 
> Has anyone done this before? Any idea why netcat would die?
> 
> One of the systems I am using is a minimal Linux can cannot have new
> software installed. I tried but cannot get socat installed but I also
> don't think it would fix the problem.
> 
> I used this site as an example of how to tunnel UDP via SSH.
> http://zarb.org/~gc/html/udp-in-ssh-tunneling.html
> 
> This is the sequence of commands I run from the client side.
> ssh [EMAIL PROTECTED] "mkfifo fifo.server.4570"
> ssh [EMAIL PROTECTED]  -L 4570:127.0.0.1:4570 <http://127.0.0.1:4570> "nc
> -l -p 4570 < fifo.server.4570 | nc -u 127.0.0.1 <http://127.0.0.1> 4570
>> fifo.server.4570" &
> mkfifo fifo.client.4570
> nc -l -u -p 4570 < fifo.client.4570 | nc localhost 4570 > fifo.client.4570
> 
> -- 
> Internet downloads, dragging the RIAA kicking and screaming into the
> 21st century.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> clug-talk mailing list
> [email protected]
> http://clug.ca/mailman/listinfo/clug-talk_clug.ca
> Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
> **Please remove these lines when replying
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHR1/3wRXgH3rKGfMRAudMAJ4xXWo26zPOA1tAVyHrhNbAZR9HlACeLuVZ
GAOQVBBkkhDbFdATwFlFNkw=
=7pXt
-----END PGP SIGNATURE-----

_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to