Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure for direct connection to fluffos wss with TLS #1

Open
evilmog opened this issue Dec 9, 2022 · 1 comment
Open

Configure for direct connection to fluffos wss with TLS #1

evilmog opened this issue Dec 9, 2022 · 1 comment

Comments

@evilmog
Copy link

evilmog commented Dec 9, 2022

Hi There,

Is it possible to configure this client to completely ignore the proxy and connect direct to a muds exposed WSS with Native TLS such as with fluffos?

@neverbot
Copy link
Member

Hi! Haven't tried, but I think with the right configuration should be possible:

Copied from the readme:


In src/config.js you can change the following options, among others:

  debug: param('debug') || 0,
  host: param('host') || 'muds.maldorne.org',
  port: param('port') || '5010',
  name: param('name') || 'House of Maldorne',
  ...
  proxy: 'wss://play.maldorne.org:6200/',
  ...

These are the default values used when the client does not receive specific parameters. You have to specify:

  • host: Your hostname. localhost or 127.0.0.1 don't seem to work: see conversation here.
  • port: The port where the mud is running. The mud, not the proxy.
  • proxy: The wss url where the proxy is running.

I think there was some problem about the urls used, as they seem that need to be a real dns url, not an IP, but I'm not sure.

Also, I think the client sends some extra information to the proxy, like the port and address of the real mud server, so probably your mud should ignore that info.

I could take a look, trying to use an empty fluffos server and see what happens, but I can't promise when I'll be able to do that, as I have little available time near christmas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants