No description
Find a file
2016-06-23 18:40:38 +02:00
app Maj ghc 8.0 + add sock5 types 2016-06-13 14:04:01 +02:00
src Maj sock5 2016-06-23 18:40:38 +02:00
test ground 0 2016-05-11 23:39:02 +02:00
.gitignore ground 0 2016-05-11 23:39:02 +02:00
LICENSE ground 0 2016-05-11 23:39:02 +02:00
README First commit 2016-05-11 21:44:57 +02:00
README.md Update README.md 2016-06-21 22:16:19 +02:00
Setup.hs ground 0 2016-05-11 23:39:02 +02:00
stack.yaml Maj ghc 8.0 + add sock5 types 2016-06-13 14:04:01 +02:00
wstunnel.cabal Maj sock5 2016-06-23 18:40:38 +02:00

wstunnel


Use the websockets protocol to tunnel {TCP,UDP} traffic
wsTunnelClient <---> wsTunnelServer <---> RemoteHost
Use secure connection (wss://) to bypass proxies
wstunnel [OPTIONS] ws[s]://wstunnelServer[:port]
Client options:
  -L --localToRemote=[BIND:]PORT:HOST:PORT  Listen on local and forward
                                            traffic from remote
  -u --udp                                  forward UDP traffic instead of
                                            TCP
  -p --httpProxy=USER:PASS@HOST:PORT        If set, will use this proxy to
                                            connect to the server
Server options:
     --server                               Start a server that will forward
                                            traffic for you
  -r --restrictTo=HOST:PORT                 Accept traffic to be forwarded
                                            only to this service
Common options:
  -v --verbose                              Print debug information
  -q --quiet                                Print only errors
  -h --help                                 Display help message
  -V --version                              Print version information
                                                                                

TODO

  • Add sock5 proxy
  • Add better logging
  • Add better error handling
  • Add httpProxy authentification
  • Add Reverse tunnel