auto lo iface lo inet loopback up ip address add {{ loopback_ipv6 }} dev lo up ip address add {{ loopback_ipv4 }} dev lo #{% if ffrl_tun is defined and ffrl_nat_ip is defined %} # up ip address add {{ ffrl_nat_ip }} dev lo # up ip rule add from {{ ffrl_nat_ip }} table ffnet # up ip rule add iif lo table ffnet suppress_prefixlength 0 # up ip -6 rule add iif lo table ffnet suppress_prefixlength 0 #{% endif %} #{% if ffrl_tun is not defined %} # up ip address add 10.0.0.{{vm_id}} dev lo # up ip rule add from 10.0.0.{{vm_id}} table ffnet # up ip rule add iif lo table ffnet suppress_prefixlength 0 # up ip -6 rule add iif lo table ffnet suppress_prefixlength 0 #{% endif %}