New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
shadowsocks service: support plugins #96127
Conversation
Result of |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
can you add examples to the options also? If you have time, you could maybe add a nixos test for the service. |
@Lassulus I have added examples and a test. |
@ofborg test shadowsocks |
@ofborg test shadowsocks |
Test currently fails due to #96197 |
perfect, thanks! |
Heads-Up: It looks like this breaks the default
|
@Mrmaxmeier Thank you for reporting this. It should be fixed by #97478, please review. |
Motivation for this change
Some firewalls performs deep packet inspection to block VPN traffic, such as the Greaf Firewall (GFW) of the Chinese government. Therefore it is required to obfuscate the traffic which can be done using the v2ray software. The v2ray-plugin for the shadowsocks VPN was introduced in #95567. This PR makes the shadowsocks service for NixOS aware of plugins.
Personally, I'm using this in production for myself and for a friend in Beijing for a couple of months without problems. This is what my configuration roughly looks like:
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)