heiher / hev-socks5-tunnel

A high-performance tun2socks for Linux/Android/FreeBSD/macOS/iOS/WSL2 (IPv4/IPv6/TCP/UDP)
MIT License
667 stars 134 forks source link

macos 下无法正常运行 #33

Closed ttys000 closed 1 year ago

ttys000 commented 1 year ago

运行 bin/hev-socks5-tunnel conf/main.yml 报错 [E] socks5 tunnel open

macOS 13.0.1 (22A400)

配置文件:

tunnel:
  # Interface name
  name: tun0
  # Interface MTU
  mtu: 8500
  # Multi-queue
  multi-queue: false
  # IPv4 address
  ipv4: 198.18.0.1
  # IPv6 address
  ipv6: 'fc00::1'

socks5:
  # Socks5 server port
  port: 1080
  # Socks5 server address (ipv4/ipv6)
  address: 127.0.0.1
  # Socks5 UDP relay mode (tcp|udp)
  udp: 'tcp'
heiher commented 1 year ago

没有用root用户?

ttys000 commented 1 year ago

sudo bin/hev-socks5-tunnel conf/main.yml