How can I translate the following ip commands, which divert traffic for the purpose of transparent proxying to the local machine, to a netplan configuration for Ubuntu 18.04?

ip route add local dev lo table 60
ip rule add fwmark 10000 lookup 60

Previously, they were hooked up as a post-up command in /etc/network/interfaces, which no longer exists in 18.04.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.