Skip to content

Conversation

@c1emon
Copy link

@c1emon c1emon commented Mar 8, 2024

  1. create tun dev
  2. support gvisor (almost same as darwin)
  3. support mointor (TODO: defaultInterfaceMonitor.checkUpdate can only watch ipv4 route now)

Tested with FreeBSD 13.2 amd64. Work well when using gvior mode with following pf rule:

pass quick inet from 198.18.0.0/30 to 198.18.0.0/30  keep state allow-opts
pass in quick route-to (Meta 198.18.0.1) inet from any to 198.18.0.0/16 keep state allow-opts

BUT can not work with system stack, i think something went worng with those pf rules(seems that there is no TProxy in pf firewall?). Unfortunately, i'm not familt with FreeBSD. I just want to run sing-box or mihomo on OPNsense.

@nekohasekai nekohasekai force-pushed the dev branch 12 times, most recently from 95e37b3 to 831469a Compare June 1, 2024 06:51
@nekohasekai nekohasekai force-pushed the dev branch 5 times, most recently from ca84a23 to 28df5b4 Compare June 12, 2024 07:19
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.

2 participants