rename hostname to host (#74)
This commit is contained in:
parent
7c6439b301
commit
39659cf48b
23 changed files with 62 additions and 64 deletions
|
|
@ -4,12 +4,12 @@ function createRelay () {
|
|||
console.log('Creating relay')
|
||||
/* Example to create a non-transparent proxy (or 'Relay') connection to destination server */
|
||||
const relay = new Relay({
|
||||
/* Hostname and port for clients to listen to */
|
||||
hostname: '0.0.0.0',
|
||||
/* host and port for clients to listen to */
|
||||
host: '0.0.0.0',
|
||||
port: 19130,
|
||||
/* Where to send upstream packets to */
|
||||
destination: {
|
||||
hostname: '127.0.0.1',
|
||||
host: '127.0.0.1',
|
||||
port: 19132
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue