TCP socket and bluebox https tunnel on different subdomains

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

snehil89
Posts: 17
Joined: 25 Sep 2014, 08:52

TCP socket and bluebox https tunnel on different subdomains

Postby snehil89 » 25 Sep 2020, 15:24

Hi,

Is it possible to make TCP socket and bluebox https tunnel with server on different sub domains? Actually we want to hide our original ports (9933,8080) so wanted to connect to server via two subdomains , one for tcp and bluebox each, which proxies onto server over original ports . Is it achievable ?

Regards,
User avatar
Lapo
Site Admin
Posts: 21723
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: TCP socket and bluebox https tunnel on different subdomains

Postby Lapo » 27 Sep 2020, 16:16

Sorry, I don't think I follow.
Generally speaking it's not possible because technically the server is running on the same machine, so you can only point one domain to it.

Also I am not sure why you want to "hide" the port values. The server is exposed to the outside to be able to receive connections, so what is the point of hiding it?

Thanks
Lapo
--
gotoAndPlay()
...addicted to flash games
snehil89
Posts: 17
Joined: 25 Sep 2014, 08:52

Re: TCP socket and bluebox https tunnel on different subdomains

Postby snehil89 » 28 Sep 2020, 08:02

Hi Lapo,

Here, the idea was to hide the original tcp port using a proxy (i.e DDOS prevention service) in our case .

Regards,
User avatar
Lapo
Site Admin
Posts: 21723
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: TCP socket and bluebox https tunnel on different subdomains

Postby Lapo » 28 Sep 2020, 15:37

If the proxy is able to work with the SFS2X binary protocol it can be done. A SOCKS proxy should work, in theory. (we have never tried it)
For HTTP/BlueBox a normal HTTP proxy should do the trick.

Cheers
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 23 guests