Hello, I'm trying to use ssh and netcat to forward dns queries from a 6.1-STABLE workstation to a remote 6.1-STABLE DNS server. I was inspired by the information supplied at:
http://zarb.org/~gc/html/udp-in-ssh-tunneling.html The methodology is elegant and simple, but I'm unable to get it working. Here's what I've done: local# ssh -L 6667:localhost:6667 server.foo.com server# rndc trace server# rndc querylog server# mkfifo /tmp/fifo server# nc -l -p 6667 < /tmp/fifo | nc -u 127.0.0.1 53 > /tmp/fifo local# mkfifo /tmp/fifo local# nc -l -u -p 53 < /tmp/fifo | nc localhost 6667 > /tmp/fifo local# echo "nameserver 127.0.0.1" > /etc/resolv.conf local# dig www.freebsd.org ; <<>> DiG 9.3.2 <<>> www.freebsd.org ;; global options: printcmd ;; connection timed out; no servers could be reached I see nothing in the server's named.run file and dig reports the server wasn't reached. Also, I'm unable to ctrl-C out of either nc command local or remote. What am I doing wrong? -- Regards, Doug _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"