• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Programmer NEED GOOD TUNELLING SYSTEM

..
Post automatically merged:

Soon, just didn't have any actual stimuli to do so yet - but that's definitely a thing I want to explore.

This setup is incomplete, also this panel is only one of the tools you can set up on OVH, given you have full protection available (likely not on VPS).

Edit:
Another option worth consideration is using Don Daniello's service.

I'm not going to use anyone's service, man, to go around offering contacts to sell products. Thanks.
Post automatically merged:

You are missing the thread's point, Kondrahs proxy actually increases ping, since rarely the proxy nodes are going to be located near you, effectively increasing the distance the connection travels.

A proxy solution like that serves the purpose of hiding the IP of the main server at the cost of decreasing connection quality (given your nodes are weak, and you will connect to a further node, after one near dies), so it feels completely counterproductive here.

PS: It is also a first point of failure on <64GB RAM server.
If you guys want to take credit for it, you should really fix the obvious inefficiencies it has ... I really hope the fix is not a paid service Ezzz style, that would be straight up scam.


No general solution (unless very costly) is going to work for these users, since your proxy nodes will usually extend the distance the connection travels.

If the user has issues with the connection, the best thing you can do is help profile it, and if it's bad routing - suggest a tunneling service like ExitLag, which allows to finetune routes.
Renting nodes everywhere will be less cost-efficient than buying licenses for each player who has issues.

That's precisely why you get a VPS next to your main dedicated server; the tunneling will always favor it and keep the ping as low as possible.
Post automatically merged:

If you have server for example in Berlin you can have one datacenter but 5 different companies and each of them will have different route when you connect to them because peering depends on company.

OVH is known for rather poor pings; generally by buying VPS in random hostings and setting it up as proxy you immediately get 10–20 ms better ping (of course as long as you dont live close to data center).

You see, point is that with this proxy system it doesnt matter if some VPS goes down for 1-5 minutes, it wont affect players connection in any way. In case of ExitLag if one server goes down you lose connection until it reconnects, its much worse.


Thats exactly point - you dont need any highly resilient server. You can buy 10–20 servers for $5 each and spend $50 and at the moment no attacker is able to take all of them down at once. If needed, you can quickly add more. Do you think single 1–10 Gbps server is better? Of course you can buy a better connection (and attacker can still take you down with more power) but it will cost hundreds of dollars compared to $50–100 you would spend on proxies from which you gain more than ddos protection.

Talking to you is like talking to wall, thats exactly why SOE has been having problems with attacks for year or longer, while other large servers have no issues at all. I guess after every attack you send tcpdump to OVH and ask them to fix edge firewall? Great solution

I will also add that CipSoft uses similar system and when you connect to their servers you get two or more connections like Cloudflare + Amazon. Even if one stops working you still have other one. Its same principle.


"When Cloudflare releases new code to its global network, we may restart servers, which terminates WebSockets connections."
Awesome solution


If I remember correctly timeout after which TFS <-> proxy session is closed is 30 seconds.

That's why we use this option as well; if the proxy doesn't work properly, doesn't connect, or increases the ping while need decrease, the player chooses the option without proxy.
 

Attachments

Last edited:
..
Post automatically merged:



I'm not going to use anyone's service, man, to go around offering contacts to sell products. Thanks.
Post automatically merged:



That's precisely why you get a VPS next to your main dedicated server; the tunneling will always favor it and keep the ping as low as possible.
Post automatically merged:



That's why we use this option as well; if the proxy doesn't work properly, doesn't connect, or increases the ping while need decrease, the player chooses the option without proxy.
Great. Of course single dedicated server would be better but to have real protection you would need 100 Gbps+ uplink and very powerful CPU for XDP/iptables, so unfortunately its not cost-effective for Tibia servers as costs start at $2000 and up. Advantage of Kondrah proxy is that you can use weak VPSes and it doesnt matter if one goes down/gets null-routed (btw, its enough to buy VPSes from providers that dont do that) you can also buy proxy services from companies that specialize in this. At moment this seems to be best solution for OTS.

Honestly even using Cloudflare WebSocket in combination with Kondrah proxy would be okay, although its hard to say when Cloudflare might come to you and say pay us $1000/month for using it this way
 
Great. Of course single dedicated server would be better but to have real protection you would need 100 Gbps+ uplink and very powerful CPU for XDP/iptables, so unfortunately its not cost-effective for Tibia servers as costs start at $2000 and up. Advantage of Kondrah proxy is that you can use weak VPSes and it doesnt matter if one goes down/gets null-routed (btw, its enough to buy VPSes from providers that dont do that) you can also buy proxy services from companies that specialize in this. At moment this seems to be best solution for OTS.

Honestly even using Cloudflare WebSocket in combination with Kondrah proxy would be okay, although its hard to say when Cloudflare might come to you and say pay us $1000/month for using it this way
It turns out I use the best DDoS protection company in Brazil, Ecxon. So direct DDoS attacks on the data center aren't a problem; I pay $500 a month.

My real problem is network fluctuations that cause lag and kicks for some players. That's why I'm using tunneling.


The problem is that we debate random issues and don't clarify our variables.All the confusion in the debate stems from the fact that I haven't explained my situation and variables exactly so we can adjust the information.
 
Last edited:
It turns out I use the best DDoS protection company in Brazil, Ecxon. So direct DDoS attacks on the data center aren't a problem; I pay $500 a month.

My real problem is network fluctuations that cause lag and kicks for some players. That's why I'm using tunneling.


The problem is that we debate random issues and don't clarify our variables.All the confusion in the debate stems from the fact that I haven't explained my situation and variables exactly so we can adjust the information.
In that case great, Excon really does have very good firewall. I think discussion was worthwhile anyway, it warns against using standard OVH
 
Okay, the OTC proxy tunnel system is active and we'll see how it performs over the next few weeks and I'll give feedback here.

Now I'm about to solve another problem with the non-OTC client that I need to use as a proxy somehow.


If anyone can help, I would be very grateful.
 
Okay, the OTC proxy tunnel system is active and we'll see how it performs over the next few weeks and I'll give feedback here.

Now I'm about to solve another problem with the non-OTC client that I need to use as a proxy somehow.


If anyone can help, I would be very grateful.
There is proxy for tibia client attached on bottom of this post
 
There is proxy for tibia client attached on bottom of this post
The problem is that nobody knows how to compile it or how to make it work.
 
Yeah, you are probably right. @gunz has been using this solution for long time, maybe he can comment on it

Actually, I see he already did
We've been using this approach as optional for couple of years, some players reported better ping. However, we finally managed to switch product called Cloudflare Spectrum which does not need any intermediate layer. (it's kind tricky to deal suitable price) We're also working on dedicated L7 countermeasures for tibia protocol.
 
We've been using this approach as optional for couple of years, some players reported better ping. However, we finally managed to switch product called Cloudflare Spectrum which does not need any intermediate layer. (it's kind tricky to deal suitable price) We're also working on dedicated L7 countermeasures for tibia protocol.
What is the spectrum value of Cloudflare?
 
We've been using this approach as optional for couple of years, some players reported better ping. However, we finally managed to switch product called Cloudflare Spectrum which does not need any intermediate layer. (it's kind tricky to deal suitable price) We're also working on dedicated L7 countermeasures for tibia protocol.
Great! I know several servers are already using Cloudflare Spectrum and are happy with it, could you tell me roughly how much price is?
 
Back
Top