LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Tunnel DNS queries? (https://www.linuxquestions.org/questions/linux-newbie-8/tunnel-dns-queries-635885/)

hattori.hanzo 04-16-2008 11:55 PM

Tunnel DNS queries?
 
Is this possible via Openssh as its UDP?

thx

Simon Bridge 04-17-2008 12:06 AM

Yes:
http://www.zarb.org/~gc/html/udp-in-ssh-tunneling.html

hattori.hanzo 04-17-2008 01:28 AM

Thanks exactly what I was looking for.

Just tried it out but having issues with:

Code:

sudo nc -l -u -p 53 < /tmp/fifo | nc localhost 6667 > /tmp/fifo
Will try the socat method and see if any sucess..

hattori.hanzo 04-17-2008 02:21 AM

Quote:

Originally Posted by hattori.hanzo (Post 3123792)
Thanks exactly what I was looking for.

Just tried it out but having issues with:

Code:

sudo nc -l -u -p 53 < /tmp/fifo | nc localhost 6667 > /tmp/fifo

Hmm.. When trying to connect keep getting Connection refused.

Code:

channel 3: open failed: connect failed: Connection refused
No luck with socat method either.

Out of curiosity, has anyone got this to work?

I am on Fedora 8.

thx


All times are GMT -5. The time now is 03:19 PM.