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 ...
- 11-20-2007 #1
Netcat for NAT is instable how to to Stable?
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..
Well, that does work. And I also have Sniffing(Logging) Power at the same time.Code: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:
But, well after reading I found out that it can be done with Iptables.Code: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.
Cheers,
Robin


Reply With Quote