Vietnam was a) 40 years ago and b) not a great success for the US, so what worked there may be pretty irrelevant.
At some point you have to put, and keep, boots on the ground. Those boots will always be vulnerable to all sorts of irregular threats, whether that's suicide bombers, IEDs or as we've seen several times, rogue Afghan soldiers/police turning their weapons on their mentors.