Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
Netcat for NAT is instable how to to Stable?
Well, I use Netcat now for doing NAT..
mkfifo vnc nc -lp 5901 < vnc | nc <TargetIP> 5901 > vnc | cat vnc
but now Id like to make this stable.
Since this doesnt always work.
And when a user disconnects you have to restart it.
Well you can fix that with a BashScript:
mkfifo vnc while [ 1 -eg 1 ]; do nc -lp 5901 < vnc | nc <TargetIP> 5901 > vnc | cat vnc done
So I tryed. (And failed)
And that is so weird. I had one NAT that I knew that did work.
I copyed it. Changed the target IP. and it doest work...
So, whats a EASY way to Tunnel all the Traffic from the PC 192.168.42.112:5900 to 192.168.1.1:5900??
Thanks a lot.