Results 1 to 1 of 1
Ok, well I've put this in Newb. so I wont get flamed for not knowing something as easy as NAT. Well, I use Netcat now for doing NAT.. Code: mkfifo ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-20-2007 #1
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.