yichya / luci-app-xray

(Almost) full feature Xray client for OpenWrt
Mozilla Public License 2.0
600 stars 513 forks source link

Feature request: Xray client listens on another openwrt interface #271

Closed alcatraz-zz closed 1 year ago

alcatraz-zz commented 1 year ago

Hey guys

How about this idea. An option to have tproxy listen on a separate openwrt interface (not brlan). That way the same router can simultaneously manage two local networks, in parallel.

That way we can assign a second wifi ssid or ethernet port to that interface.

I know that previously mac filtering is how it's commonly been done in the past, but the feature proposed is nice to leave the choice up to the client without having to configure the router for each mac. You could switch back and forth etc. Dns should remain unaffected on one interface.

I think xray would be installed on more routers if there was no downside to installing it. The downside now (to me) is the complexity. If the proxy goes down, update failed, service crash, then it could put the network offline.

yichya commented 1 year ago

There's already an option for that?

image

alcatraz-zz commented 1 year ago

Whattttt! How did I miss that. I'll report back after testing!

For the time being, I apologise.