Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support "services" root config in cfgv4 #3006

Merged

Conversation

Vigilans
Copy link
Contributor

@Vigilans Vigilans commented May 7, 2024

This allows tun to be configured in v4cfg:

  "services": {
    "tun": {
      "name": "tun0",
      "mtu": 1500,
      "tag": "tun",
      "ips": [{ "ip": [198, 18, 0, 0], "prefix": 15 }],
      "routes": [
         { "ip": [0, 0, 0, 0], "prefix": 0 }
         // , { "ip": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "prefix": 0 }
      ],
      "enablePromiscuousMode": true,
      "enableSpoofing": true
    }
  }

Fixes #2541 (comment)

@Losalado
Copy link

Losalado commented May 9, 2024

Great, thanks!

@xiaokangwang
Copy link
Contributor

I think this merge request is ready to be merged. A merge request for its document is welcomed! To process merge request faster, documentation task will no longer be a release blocker.

@xiaokangwang xiaokangwang merged commit 9eaff44 into v2fly:master Aug 19, 2024
37 of 38 checks passed
@Losalado
Copy link

Losalado commented Aug 31, 2024

It works in my device now.
Many thanks for your job.

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.

3 participants