Skip to content

Commit

Permalink
WSProxy config.
Browse files Browse the repository at this point in the history
  • Loading branch information
burzumishi committed Nov 12, 2018
1 parent db6d66c commit 292dbfd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions www/js/modules/Config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ var Config = {

debug: param('debug') || 0,

host: param('host') || "127.0.0.1",
host: param('host') || "0.0.0.0",

port: param('port') || 4000,

Expand Down Expand Up @@ -40,7 +40,7 @@ var Config = {

separator: window.location.search.has('separator') ? param('separator') : ';',

proxy: param('proxy') || 'ws://127.0.0.1:6200/',
proxy: param('proxy') || 'ws://0.0.0.0:6200/',

view: param('host') + ':' + param('port') + ':' + window.screen.width + 'x' + window.screen.height,

Expand Down
6 changes: 3 additions & 3 deletions www/proxy/wsproxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ srv = {

ws_port: 6200, /* this websocket proxy port */

tn_host: "127.0.0.1", /* default telnet host */
tn_host: "0.0.0.0", /* default telnet host */

tn_port: 4000, /* default telnet/target port */

Expand All @@ -80,12 +80,12 @@ srv = {

ttype: {
enabled: 1,
portal: ["127.0.0.1", "XTERM-256color", "MTTS 141"]
portal: ["0.0.0.0", "XTERM-256color", "MTTS 141"]
},

gmcp: {
enabled: 1,
portal: ['client 127.0.0.1', 'client_version 1.0']
portal: ['client 0.0.0.0', 'client_version 1.0']
},

prt: {
Expand Down

0 comments on commit 292dbfd

Please sign in to comment.