Although iOS (and macOS) is based on a flavor of nix, changing the network settings
from the command line is not as simple as executing ifconfig. Changing system
wide persistent proxy settings, for example, is not done by modifying a file.
To persist network configuration changes, use the Apple scutil cli tool (see
man scutil).