parent
df8612e355
commit
1c582acdb5
36 changed files with 539 additions and 731 deletions
|
|
@ -1,6 +1,6 @@
|
|||
const { Relay } = require('../src/relay')
|
||||
|
||||
function createRelay() {
|
||||
function createRelay () {
|
||||
console.log('Creating relay')
|
||||
/**
|
||||
* Example to create a non-transparent proxy (or 'Relay') connection to destination server
|
||||
|
|
@ -27,7 +27,7 @@ function createRelay() {
|
|||
/* Where to send upstream packets to */
|
||||
destination: {
|
||||
hostname: '127.0.0.1',
|
||||
port: 19132,
|
||||
port: 19132
|
||||
// encryption: true
|
||||
}
|
||||
})
|
||||
|
|
@ -35,4 +35,4 @@ function createRelay() {
|
|||
relay.create()
|
||||
}
|
||||
|
||||
createRelay()
|
||||
createRelay()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue