Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/splitbrain/dnstunnel
A Perl script to run a DNS tunneling server
https://github.com/splitbrain/dnstunnel
dns perl
Last synced: 5 days ago
JSON representation
A Perl script to run a DNS tunneling server
- Host: GitHub
- URL: https://github.com/splitbrain/dnstunnel
- Owner: splitbrain
- Created: 2010-06-12T11:05:08.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2010-06-12T11:13:38.000Z (over 14 years ago)
- Last Synced: 2024-11-01T11:51:38.033Z (12 days ago)
- Topics: dns, perl
- Homepage: http://www.splitbrain.org/blog/2008-11/02-dns_tunneling_made_simple
- Size: 102 KB
- Stars: 25
- Watchers: 5
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
====== Installation ======
These scripts provide a way to setup a DNS Tunnel. They are based on Dan Kaminski's
OzymanDNS scripts.Read more at
http://www.splitbrain.org/blog/2008-11/02-dns_tunneling_made_simple===== DNS Side =====
Delegate a subdomain nameserver to the server that will run dnstunneld like this:
server.example.com. IN NS ns.example.com.
ns.example.com. IN A 123.123.123.123Note: You can not use a server that has already running a nameserver on the external
interface, because we need to use port 53.===== Server Side =====
- put the dnstunneld* scripts to /opt/dnstunnel
- edit the variables in /opt/dnstunnel/dnstunneld.wrapper
- link /opt/dnstunnel/dnstunneld.init to /etc/init.d/dnstunneld
- enable the init script in the apropriate runlevels
- run /etc/init.d/dnstunneld start===== Client Side =====
- copy the dnstunnelc script somewhere in your PATH (eg. /usr/local/bin)
- Setup an SSH tunnel using the script as Proxy:ssh -C -o ProxyCommand="dnstunnel sshdns.server.example.com" user@localhost