SagerNet / SagerNet/sing-box

macOS + SFM + system_interface true: operation not permitted

Open
#4,465 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
38.1k
Forks
4.6k
Avg merge
19d 15h
Merged PRs (30d)
1

Description

How do I use the “system_interface”: true parameter correctly? I added it to my working configuration, and SFM stopped connecting.

  “endpoints”: [
    {
      “type”: “tailscale”,
      “tag”: “tailscale”,
      “hostname”: “sing-box-mb”,
      “accept_routes”: true,
      “system_interface”: true,
      “exit_node”: “100.125.54.15”
    }
  ]

The error:

Failed to fetch last disconnect error
(packet-tunnel) error: start service: start outbound/tailscale[tailscale]: Connect: operation not permitted

I tried running SFM using sudo (% sudo /Applications/SFM.app/Contents/MacOS/SFM), but that didn't solve the problem.

SFM: 1.13.19 (1)
macOS: 26.6.2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The entry point is the SFM configuration containing the Tailscale endpoint and system_interface parameter; start by reproducing the operation-not-permitted error on macOS. Compare the failing configuration with one that connects successfully, and consider the issue resolved when the documented setup allows SFM to connect.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos
Domain
desktop, networking, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.