Compare commits
1 Commits
bd1716eb23
...
updated-in
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
50f2f01437 |
6
flake.lock
generated
6
flake.lock
generated
@@ -666,11 +666,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_5": {
|
"nixpkgs_5": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1761114652,
|
"lastModified": 1763421233,
|
||||||
"narHash": "sha256-f/QCJM/YhrV/lavyCVz8iU3rlZun6d+dAiC3H+CDle4=",
|
"narHash": "sha256-Stk9ZYRkGrnnpyJ4eqt9eQtdFWRRIvMxpNRf4sIegnw=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "01f116e4df6a15f4ccdffb1bcd41096869fb385c",
|
"rev": "89c2b2330e733d6cdb5eae7b899326930c2c0648",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -60,10 +60,4 @@
|
|||||||
ip46tables -t mangle -A forward-mangle -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
|
ip46tables -t mangle -A forward-mangle -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
|
||||||
'';
|
'';
|
||||||
|
|
||||||
networking.firewall.extraCommands = ''
|
|
||||||
# Reject all IPv4 traffic that tries to enter and leave the PPP tunnel
|
|
||||||
iptables -I INPUT -i ppp-ncfttb -j DROP
|
|
||||||
iptables -I OUTPUT -o ppp-ncfttb -j DROP
|
|
||||||
'';
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,10 +11,8 @@ with lib;
|
|||||||
config = mkIf config.profiles.clerie.router.enable {
|
config = mkIf config.profiles.clerie.router.enable {
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
conntrack-tools
|
|
||||||
iptstate # show conntrack table
|
|
||||||
tcpdump
|
|
||||||
wireguard-tools
|
wireguard-tools
|
||||||
|
tcpdump
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.kernel.sysctl = {
|
boot.kernel.sysctl = {
|
||||||
|
|||||||
Reference in New Issue
Block a user