Revive hack to keep alive our sixxs tunnel
Eelco Dolstra committed
Apr 30, 2014 at 15:30 UTC
1773a253ef1892603ce3724c550e6aa09a114d58
1 file changed
+4
delft/wendy.nix
+4
@@ -60,6 +60,10 @@ with pkgs.lib;
60
61
services.cron.systemCronJobs =
62
[ "15 4 * * * root cp -v /var/backup/postgresql/* /backup/wendy/postgresql/ &> /var/log/backup-db.log"
63
+ # Force the sixxs tunnel to stay alive by periodically
64
+ # pinging the other side. This is necessary to remain
65
+ # reachable from the outside.
66
+ "*/10 * * * * root ${pkgs.iputils}/sbin/ping6 -c 1 2001:610:600:88d::1"
67
];
68
69
services.radvd.enable = false;