Is it possible to tune a network on arm CPU through adb interface only, without RPC?

Somehow my network env is not possible for the phone to connect to PC. Anyone has a solution for this?