Hi guys,
I'm not sure whether to post it here or at ServerFault. Anyway, I'm trying to work around company's firewall to connect to some media sharing site using my phone's 3g network. I've come up with a simple ip route command which take pppd's inet address as it's parameter. But, I want to make it a little bit more automated by reading the inet address right from the script, not by passing it via command line parameter.
Here's the scenario, to make it more obvious:
here's the command invocation as of now: $jumpfirewall xxx.xxx.xxx.xxx
here's the command invocation I want: $jumpfirewall
got the idea? good, now, do you know some command or library that I can use to read it from command line?