EnglishFrenchSpanish

OnWorks favicon

dns2tcpc - Online in the Cloud

Run dns2tcpc in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command dns2tcpc that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


dns2tcpc - A tunneling tool that encapsulate TCP traffic over DNS.

SYNOPSIS


dns2tcpc [ -h ] [ -c ] [ -z domain zone ] [ -d debug_level ] [ -r resource ] [ -k key ] [
-f config_file ] [ -e command ] [ -T request type ] [ -l local_port ] [ server ]

DESCRIPTION


dns2tcpc is a network tool used to encapsulate TCP communications in DNS. When connections
are received on a specific port all TCP traffic is sent to the remote dns2tcpd server and
forwarded to a specific host and port. Multiple connections are supported.

dns2tcpc was written for demonstration purposes.

OPTIONS


-h Help Menu

-c Enable DNS compression. When used, be sure that all relay and DNS server support
compression and really use it.

-z domain zone
Use this domain as endpoint.

-d debug level
Change debug level. Levels available are 1, 2 or 3.

-r resource
Remote resource to access.

-k key Pre shared key used for authentication (identification).

-f config file
Configuration file to use.

-T request type
Request type to use. Actually only KEY and TXT requests are supported.

-e command
Command to execute, I/O are redirected in the tunnel.

-l local_port
Local port accepting incomming connections (or - for stdin on UNIX systems).

-t connection timeout
Maximum DNS server's answer delay in seconds. A valid delay is between 1 and 240
seconds. Default is 3.

server DNS server to use. The first entry in resolv.conf file will be choosen if the
server is not specified.

CONFIGURATION FILES


By default ${HOME}/.dns2tcprc is used if no configuration file is specified. Here is an
example :

domain = dns2tcp.hsc.fr
resource = ssltunnel
local_port = 4430
enable_compression = 0
debug_level = 1
key = mykey
# DNS to use
server = ns.hsc.fr

EXAMPLES


dns2tcpc -k mykey -z dns2tcp.hsc.fr mydns

Ask the dns2tcp server to list available resources.

ssh -o 'ProxyCommand dns2tcpc -r ssh -l - -z dns2tcp.hsc.fr -k mykey mydns' myserver

Use dns2tcp as a proxy command with ssh. We try to connect to the ssh resource with
the key 'mykey' and the DNS mydns.

dns2tcpc -r socat-resource -e '/bin/bash -i' -k mykey -z dns2tcp.hsc.fr mydns

Use dns2tcp as a reverse shell, the remote shell will appear on the socat-resource.

dns2tcpc -d 1 -f /dev/null -r ssl-tunnel -l 2000 -k mykey -T KEY -z dns2tcp.hsc.fr mydns

Do not use the default configuration file, bind local port 2000 and forward all the
traffic on the remote ssl-tunnel resource, use the first debug level. Use KEY type
DNS requests.

AUTHORS


Olivier Dembour <[email protected]>

Use dns2tcpc online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Psi
    Psi
    Psi is cross-platform powerful XMPP
    client designed for experienced users.
    There are builds available for MS
    Windows, GNU/Linux and macOS.. Audience:
    End Users...
    Download Psi
  • 2
    Blobby Volley 2
    Blobby Volley 2
    Official continuation of the famous
    Blobby Volley 1.x arcade game..
    Audience: End Users/Desktop. User
    interface: OpenGL, SDL. Programming
    Language: C++, Lua. C...
    Download Blobby Volley 2
  • 3
    SuiteCRM
    SuiteCRM
    SuiteCRM is the award-winning Customer
    Relationship Management (CRM)
    application brought to you by authors
    and maintainers, SalesAgility. It is the
    world�s mos...
    Download SuiteCRM
  • 4
    Poweradmin
    Poweradmin
    Poweradmin is a web-based DNS
    administration tool for PowerDNS server.
    The interface has full support for most
    of the features of PowerDNS. It has full
    support...
    Download Poweradmin
  • 5
    Gin Web Framework
    Gin Web Framework
    Gin is an incredibly fast web framework
    written in Golang that can perform up to
    40 times faster, thanks to its
    martini-like API and custom version of
    httprout...
    Download Gin Web Framework
  • 6
    CEREUS LINUX
    CEREUS LINUX
    CEREUS LINUX basado en MX LINUX con
    varios entornos de escritorios. This is
    an application that can also be fetched
    from
    https://sourceforge.net/projects/cereu...
    Download CEREUS LINUX
  • More »

Linux commands

  • 1
    aa-clickquery
    aa-clickquery
    aa-clickquery - program for querying
    click-apparmor DESCRIPTION: This program
    is used to query click-apparmor for
    information. USAGE: aa-clickquery
    --click-fra...
    Run aa-clickquery
  • 2
    aa-exec-click
    aa-exec-click
    aa-exec-click - program for executing
    click packages under confinement
    DESCRIPTION: This program is used to
    execute click package under AppArmor
    confinement. I...
    Run aa-exec-click
  • 3
    cpio
    cpio
    cpio - copy files to and from archives ...
    Run cpio
  • 4
    cpipe
    cpipe
    cpipe - copy stdin to stdout while
    counting bytes and reporting progress ...
    Run cpipe
  • 5
    FvwmSave
    FvwmSave
    FvwmSave - the Fvwm desktop-layout
    saving module ...
    Run FvwmSave
  • 6
    FvwmSave1
    FvwmSave1
    FvwmSave - the FVWM desktop-layout
    saving module ...
    Run FvwmSave1
  • More »

Ad