local-tun VPN NetworkManager config #2060
Klaaktu
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Took a while to figure out, hope this helps~
{ "locals": [ { "protocol": "tun", "tun_interface_name": "ss-tun", "tun_interface_address": "10.1.0.3/24" } ], "servers": [ { "address": , "port": 8388, "method": "2022-blake3-aes-256-gcm", "password": } ], "mode": "tcp_and_udp", "fast_open": true, "no_delay": true, "ipv6_first": true, "outbound_fwmark": 8388 }This routes DNS into the ss-tun. The route & routing-rules are copied from what NM does for WireGuard. (If only there is a NM SS plugin...)
To run:
(Don't really need sudo in this setup? But ssservice requires it...)
To close quit
ssserviceand usenmcli con down ss-tun.Beta Was this translation helpful? Give feedback.
All reactions