diff options
| author | Vineet Kumar <git@vineetk.net> | 2026-05-13 15:55:00 -0400 |
|---|---|---|
| committer | Vineet Kumar <git@vineetk.net> | 2026-05-13 18:36:27 -0400 |
| commit | b0ea71c4ea45c2b22e36826a6763955e0e38ba80 (patch) | |
| tree | e2ee29b79cc2b07bcbbe8f7e3ad61f1e99ab0706 /epistemia | |
| parent | f2269d261e0ac6df481eb6b84547eb4a53642453 (diff) | |
saklas: try fixing vps routing
Diffstat (limited to 'epistemia')
| -rw-r--r-- | epistemia/systems/saklas.scm | 37 |
1 files changed, 17 insertions, 20 deletions
diff --git a/epistemia/systems/saklas.scm b/epistemia/systems/saklas.scm index 1bcdc1a..2463f53 100644 --- a/epistemia/systems/saklas.scm +++ b/epistemia/systems/saklas.scm | |||
| @@ -314,25 +314,22 @@ table inet filter { | |||
| 314 | (ruleset %nftables-ruleset))) | 314 | (ruleset %nftables-ruleset))) |
| 315 | (service static-networking-service-type | 315 | (service static-networking-service-type |
| 316 | (list (static-networking | 316 | (list (static-networking |
| 317 | (addresses | 317 | (addresses |
| 318 | (list (network-address | 318 | (list (network-address |
| 319 | (device "eth0") | 319 | (device "eth0") |
| 320 | (value "157.180.125.215/32")) | 320 | (value "141.95.52.111/32")) |
| 321 | (network-address | 321 | (network-address |
| 322 | (device "eth0") | 322 | (device "eth0") |
| 323 | (value "2a01:4f9:c014:ca8e::1/64")))) | 323 | (value "2001:41d0:701:1100::898c/128")))) |
| 324 | (routes | 324 | (routes |
| 325 | (list (network-route | 325 | (list (network-route |
| 326 | (destination "172.31.1.1") | 326 | (destination "default") |
| 327 | (device "eth0") | 327 | (device "eth0") |
| 328 | (scope 'link)) | 328 | (gateway "145.95.52.1")) |
| 329 | (network-route | 329 | (network-route |
| 330 | (destination "default") | 330 | (destination "default") |
| 331 | (gateway "172.31.1.1")) | 331 | (device "eth0") |
| 332 | (network-route | 332 | (gateway "2001:41d0:701:1100::1"))))))) |
| 333 | (destination "default") | ||
| 334 | (device "eth0") | ||
| 335 | (gateway "fe80::1"))))))) | ||
| 336 | (simple-service 'resolv-configuration | 333 | (simple-service 'resolv-configuration |
| 337 | etc-service-type | 334 | etc-service-type |
| 338 | `(("resolv.conf" | 335 | `(("resolv.conf" |
| @@ -354,7 +351,7 @@ table inet filter { | |||
| 354 | ("root" ,(local-file "/data/ssh/id_ed25519.pub")))) | 351 | ("root" ,(local-file "/data/ssh/id_ed25519.pub")))) |
| 355 | (extra-content "\ | 352 | (extra-content "\ |
| 356 | ListenAddress 127.0.0.1:22 | 353 | ListenAddress 127.0.0.1:22 |
| 357 | ListenAddress 157.180.125.215:22 | 354 | ListenAddress 141.95.52.111:22 |
| 358 | #ListenAddress 10.0.13.1:22 | 355 | #ListenAddress 10.0.13.1:22 |
| 359 | "))) | 356 | "))) |
| 360 | (service unbound-service-type | 357 | (service unbound-service-type |
