net4people / bbs

Forum for discussing Internet censorship circumvention
3.42k stars 80 forks source link

Routing Reality Connections to Multiple Locations Using a Single Port and SNI #405

Open ebinon opened 2 weeks ago

ebinon commented 2 weeks ago

Hello,

First of all, thank you to all of you for your efforts in providing free internet access.
After a long time, I managed to bypass Iran's firewall and set up a Reality service without it being blocked.
Now, I wanted to ask if defining a Path for Reality would cause any issues with encryption and connection security?

I have only one issue left: I want to direct my Reality connection to multiple locations without using multiple ports or multiple SNI values.
Simply put, I want to use only port 443 and a single SNI, but I need to find a way to route it to different locations using just that one port and SNI.

What suggestions do you have, friends?

Thank you!

shikantazacomputers commented 2 weeks ago

The RuleObject section of the Routing page of the manual will show you the possibilities for routing inbounds to outbounds.

https://xtls.github.io/en/config/routing.html#ruleobject