Missing advanced network settings for iPhone USB/Bluetooth tethering
You can use the networksetup command. For example:

sudo networksetup -setsocksfirewallproxy "iPhone USB" localhost 8888


Take a look at http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man8/networksetup.8.html