Skip to main content

PreUp

PreUp is used to run a command before your tunnel interface is brought up. This command can also be used more than once, and is very useful for adding static routes for tunnels that accept full BGP tables and other specific use cases

Example is below

PreUp = ip ro add 1.1.1.1 dev eth0 via 4.4.3.1