Giter Club home page Giter Club logo

Comments (9)

qiuyuzhou avatar qiuyuzhou commented on July 17, 2024 1

@eyvallah 你自己试一下 feature/adv_proxy_conf ea4e006 分支。

from shadowsocksx-ng.

qiuyuzhou avatar qiuyuzhou commented on July 17, 2024

研究了下。
发现现在使用的接口遍历不到VPN的项,也不能修改VPN的相应配置。所以,暂时没办法满足你的需要。
如果谁知道该怎么做,请告诉我,谢谢。

SCPreferencesRef prefRef = SCPreferencesCreate(nil, CFSTR("Shadowsocks"), nil);
 NSDictionary *sets = (__bridge NSDictionary *)SCPreferencesGetValue(prefRef, kSCPrefNetworkServices);

取得的数据不包括VPN配置

from shadowsocksx-ng.

qiuyuzhou avatar qiuyuzhou commented on July 17, 2024

又研究了下,发现PPTP和L2TP类型VPN可以取到。
IKEv2类型的VPN取不到。

from shadowsocksx-ng.

levinli303 avatar levinli303 commented on July 17, 2024

我是L2TP(IPSec)的。可能是因为开了网络共享的原因不能找到?

from shadowsocksx-ng.

qiuyuzhou avatar qiuyuzhou commented on July 17, 2024

不是这样。以前是根据类型判断。只修改以下类型的:

  • AirPort
  • Wi-Fi
  • Ethernet

不好将VPN加入

from shadowsocksx-ng.

qiuyuzhou avatar qiuyuzhou commented on July 17, 2024

@eyvallah 你是否试过手工修改VPN的代理设置,是否能正常使用shadowsocks代理?

from shadowsocksx-ng.

levinli303 avatar levinli303 commented on July 17, 2024

手动填写可以正常使用shadowsocks,记得以前用lantern的时候lantern能够正确给VPN添加代理,不过safari等应用网络会出现问题,要sudo killall -9 networks解决。能不能提供一个选项,列出所有网络,选定ss代理的网络

from shadowsocksx-ng.

levinli303 avatar levinli303 commented on July 17, 2024

@qiuyuzhou 可以选择了,👍

from shadowsocksx-ng.

qiuyuzhou avatar qiuyuzhou commented on July 17, 2024

Merged to branch develop.

from shadowsocksx-ng.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.