new-kind-of-proxy

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2018 License: MIT Imports: 10 Imported by: 0

README

new-kind-of-proxy

Allows to directly connect to NKN node and browse HTTPS websites through it.
Node will receive payment for proxied traffic directly from user (not implemented yet).

Note: HTTP (non-secure) won't be proxied because of security reasons

Build

Simply run:

glide install
go build proxy.go

How to use

Edit config.json with your data:

{
  "SeedList": [
    "http://testnet-seed-0001.nkn.org:30003",
    "http://testnet-seed-0002.nkn.org:30003",
    "http://testnet-seed-0003.nkn.org:30003",
    "http://testnet-seed-0004.nkn.org:30003",
    "http://testnet-seed-0005.nkn.org:30003",
    "http://testnet-seed-0006.nkn.org:30003",
    "http://testnet-seed-0007.nkn.org:30003",
    "http://testnet-seed-0008.nkn.org:30003"
  ],
  "Listener": ":8888",
  "NodeDialTimeout": 30,
  "PublicKey": ""
}

SeedList list of seed nodes to connect to NKN
Listener port to listen for connections
NodeDialTimeout timeout for NKN node connection
PublicKey your public key

Run like this:

./proxy

Then you can set HTTPS proxy address in your browser (127.0.0.1:8888 for example)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL