bundles/pppd: add iptables rules on ifup/ifdown
This commit is contained in:
parent
f65e216828
commit
870a5252e5
3 changed files with 20 additions and 0 deletions
|
@ -50,6 +50,14 @@ files = {
|
|||
'svc_systemd:pppoe:restart',
|
||||
},
|
||||
},
|
||||
'/etc/ppp/ip-down.d/iptables': {
|
||||
'source': 'ip-down',
|
||||
'mode': '0755',
|
||||
},
|
||||
'/etc/ppp/ip-up.d/iptables': {
|
||||
'source': 'ip-up',
|
||||
'mode': '0755',
|
||||
},
|
||||
'/etc/ppp/peers/provider': {
|
||||
'content_type': 'mako',
|
||||
'context': node.metadata['pppd'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue