local-tun VPN NetworkManager config #2060
Klaaktu
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
|
Linux's |
Beta Was this translation helpful? Give feedback.
1 reply
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": "shadowsocks", "tun_interface_address": "10.1.0.3/24" } ], "servers": [ { "address": , "port": 8388, "method": "2022-blake3-aes-256-gcm", "password": } ], "mode": "tcp_and_udp", "outbound_fwmark": 8388 }This routes DNS into the shadowsocks interface. The route & routing-rules are copied from what NM does for WireGuard. (If only there is a NM SS plugin...)
To run:
The
capshcommand runs the program with temporay capabilities without running it as root.To close quit
ssserviceand usenmcli con down shadowsocks.Beta Was this translation helpful? Give feedback.
All reactions