nodes/home.router: install cronjob to re-establish pppoe connection at night
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
870a5252e5
commit
0025482240
1 changed files with 7 additions and 0 deletions
|
@ -25,6 +25,13 @@ nodes['home.router'] = {
|
|||
'backups': {
|
||||
'exclude_from_backups': True,
|
||||
},
|
||||
'cron': {
|
||||
# Our internet provider resets the connection if you're
|
||||
# connected longer than 24 hours. We install this cronjob
|
||||
# to make sure we don't get disconnected randomly during the
|
||||
# day.
|
||||
'restart_pppd': '23 2 * * * root systemctl restart pppoe',
|
||||
},
|
||||
'iptables': {
|
||||
'custom_rules': [
|
||||
'iptables_both -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT',
|
||||
|
|
Loading…
Reference in a new issue