netplan: post-up iptables or arbitrary script
Today I had "pleasure" of deploying Ubuntu Server 18.04 with mixed results. Without digressing I would like to know how to implement post-up (and pre-up) scripts in netplan?
According to https:/
Why not just have "pre-up:
So far the biggest show stopper (which would probably get the netplan uninstalled as part of our standard images) is inability to run simple iptables rules on "up" (and remove them on "down" events).
How does one deal with complex "ip route table" routing tables?
What about fwmark stuff?
What about tc rules?
Lets say I use networkd-
Do netplan developers/Ubuntu seriously expect end users to write systemd unit files for what used to be one-liners?
Question information
- Language:
- English Edit question
- Status:
- Open
- For:
- Ubuntu nplan Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask SergeiFranco for more information if necessary.