UDPTunnel

Description

UDPTunnel is a small program which can tunnel UDP packets bi-directionally over a TCP connection. Its primary purpose (and original motivation) is to allow multi-media conferences to traverse a firewall which allows only outgoing TCP connections.

Usage

Syntax

udp tunnel -s TCP-port [-r] [-v] UDP-addr/UDP-port[/ttl]
udp tunnel -c TCP-addr[/TCP-port] [-r] [-v] UDP-addr/UDP-port[/ttl]

Options

  -c    client mode (default)
        <args>: [local host] <local port> <proxy host> <proxy port>
                <remote host> <remote port>
  -s    server mode
        <args>: [host] port [acl ...]
        acl: [s=<src ip>,][d=<dst ip>,][dp=<dst port>,][a=allow|deny]
  -6    use IPv6
  -v    show some debugging output (use up to 3 for increaing levels)
  -h    show this junks and exit

Example

Tunnel-Server:

cyborg@cyborg:~$ sudo udptunnel -s 9999 -v 81.89.105.86/8888
Listening for TCP connections on port 9999
TCP connection from 81.89.105.86/52501

Tunnel-Client:

cyborg@cyborg:~$ sudo udptunnel -c 81.89.105.86/9999 127.0.0.1/8888 -v
Connected TCP to 81.89.105.86/9999

UDP send PORT:

cyborg@cyborg:~$ sudo echo test | netcat -u 81.89.105.86 8888

Listening on UDP:

cyborg@cyborg:~$ sudo netcat -l -u -p 8888 test
0 Comments

Leave a reply

CONTACT US

We're are building as a community and a team. Be a part of it.

Sending

©2017 Ztrela Knowledge Solutions Pvt. Ltd

Log in with your credentials

Forgot your details?