When you write "less code" I see "less readable" and therefore "less maintainable" and more that can go wrong. Less code should not be the goal.
I see "less code" used to mean that the solution has been distilled down to the essentials without fluff. For example, no need to write a full-featured JSON parsing library when a simple decode-to-native-dictionary will do. I don't have a good example for VPN-related code.