summary refs log tree commit diff
path: root/nixos/modules/services/networking/strongswan.nix
Commit message (Collapse)AuthorAge
* strongswan module: make it work with ipsec l2tpMatthieu Coudron2018-02-07
| | | | | | | | | | | | | | | | | l2tp saves its secrets into /etc/ipsec.d but strongswan would not read them. l2tp checks for /etc/ipsec.secrets includes /etc/ipsec.d and if not tries to write into it. Solution: Have the strongswan module create /etc/ipsec.d and /etc/ipsec.secrets when networkmanager_l2tp is installed. Include /etc/ipsec.secrets in /nix/store/hash-strongswan/etc/ipsec.secrets so that it can find l2tp secrets. Also when the ppp 'nopeerdns' option is used, the DNS resolver tries to write into an alternate file /etc/ppp/resolv.conf. This fails when /etc/ppp does not exist so the module creates it by default.
* strongswan: allow configuring enabled pluginsAndrew Dunham2017-11-02
|
* Strongswan after network-online instead of networkFalco Peijnenburg2017-07-17
| | | | | | | | The systemd service file shipped with strongswan has strongswan started after `network-online`. It turns out that this is for good reason: failure to connect on boot otherwise. See this thread on the mailing list, which my colleague initiated after finding that our NixOS strongswan config wouldn't connect on boot: https://lists.strongswan.org/pipermail/users/2017-January/010359.html Tested on a local config (which has the strongswan service config overridden).
* modprobe service: drop kmod wrapperNikolay Amiantov2016-08-19
|
* Revert "Merge branch 'modprobe-fix' of git://github.com/abbradar/nixpkgs"Shea Levy2016-08-15
| | | | | | | Was meant to go into staging, sorry This reverts commit 57b2d1e9b0dcdd1d25bd2d450174764b9417ffc1, reversing changes made to 760b2b9048ea775c319cb348d74447a20dea513e.
* modprobe service: drop kmod wrapperNikolay Amiantov2016-08-16
|
* strongswan service: use config.system.sbin.modprobe instead of kmodBas van Dijk2015-11-30
| | | | Fixes: #8343
* Strongswan: updown script uses ip and iptables utilitiesIgor Pashev2014-12-22
|
* Style fixesEelco Dolstra2014-11-25
|
* Added strongSwan serviceIgor Pashev2014-11-25