Skip to content

feat: let Mixed listen on the LAN - #86

Open
harryisfish wants to merge 1 commit into
mainfrom
feat/mixed-lan
Open

harryisfish wants to merge 1 commit into
mainfrom
feat/mixed-lan

Conversation

@harryisfish

Copy link
Copy Markdown
Contributor

Summary

  • Add mixed_lan so Mixed can bind 0.0.0.0 and :: and accept LAN clients.
  • The controller, DNS listener, and System Extension SOCKS listeners stay on loopback. Mixed still has no inbound password.
  • The switch is on 设置 → 显式代理(Mixed) and myproxyctl mixed-lan on|off. Apply or connect activates it.

Test plan

  • cargo test --lib -- mixed_lan_opens_mixed_only compile_emits_mixed_listener missing_inbound_modes_default_to_rule
  • cargo check --bin myproxyctl
  • On a connected Mac, turn 对局域网开放 on, apply, and connect from another LAN device to <ip>:7891
  • Confirm 127.0.0.1:7998 and the extension SOCKS ports still refuse LAN connections

Made with Cursor

Keep the controller, DNS, and System Extension listeners on loopback.

Co-authored-by: Cursor <cursoragent@cursor.com>
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

Successfully merging this pull request may close these issues.

1 participant