├── .gitignore ├── LICENSE ├── README.md ├── flake.nix ├── lib ├── types.nix └── utils.nix ├── modules ├── firewall-utils.nix ├── options.nix ├── systemd.nix ├── vpn-down.nix ├── vpn-netns.nix └── vpn-up.nix └── tests ├── README.md ├── flake.lock ├── flake.nix └── test.nix /.gitignore: -------------------------------------------------------------------------------- 1 | .nixos-test-history 2 | result 3 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Maroka-chan/VPN-Confinement/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Maroka-chan/VPN-Confinement/HEAD/README.md -------------------------------------------------------------------------------- /flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Maroka-chan/VPN-Confinement/HEAD/flake.nix -------------------------------------------------------------------------------- /lib/types.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Maroka-chan/VPN-Confinement/HEAD/lib/types.nix -------------------------------------------------------------------------------- /lib/utils.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Maroka-chan/VPN-Confinement/HEAD/lib/utils.nix -------------------------------------------------------------------------------- /modules/firewall-utils.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Maroka-chan/VPN-Confinement/HEAD/modules/firewall-utils.nix -------------------------------------------------------------------------------- /modules/options.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Maroka-chan/VPN-Confinement/HEAD/modules/options.nix -------------------------------------------------------------------------------- /modules/systemd.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Maroka-chan/VPN-Confinement/HEAD/modules/systemd.nix -------------------------------------------------------------------------------- /modules/vpn-down.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Maroka-chan/VPN-Confinement/HEAD/modules/vpn-down.nix -------------------------------------------------------------------------------- /modules/vpn-netns.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Maroka-chan/VPN-Confinement/HEAD/modules/vpn-netns.nix -------------------------------------------------------------------------------- /modules/vpn-up.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Maroka-chan/VPN-Confinement/HEAD/modules/vpn-up.nix -------------------------------------------------------------------------------- /tests/README.md: -------------------------------------------------------------------------------- 1 | # Run tests 2 | ```bash 3 | nix flake check -L 4 | ``` 5 | -------------------------------------------------------------------------------- /tests/flake.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Maroka-chan/VPN-Confinement/HEAD/tests/flake.lock -------------------------------------------------------------------------------- /tests/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Maroka-chan/VPN-Confinement/HEAD/tests/flake.nix -------------------------------------------------------------------------------- /tests/test.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Maroka-chan/VPN-Confinement/HEAD/tests/test.nix --------------------------------------------------------------------------------