okey, I'm a complete NAP, so take it easy on me :)
My Situation; My computer is in this stupid cooperate network of the company i work for. They have alot of policies and stuff, so its not possible to make a tunnel/connect to github.com through the normal network interface. But because we still need to be able to do whatever we want, we have wireless, that is open. Smart, eeeh?! The good part; my machine has two interface; wired and wireless.
What I want; I want to route all traffic to github.com through my wireless connection. Nothing more than this, so that I can go and do a "git fetch origin" or similar.
What I found out, tried and failed; My first thought was "ah yeah, lets just add a route!", so thats what I did! But because I cant add a domain, I did a nslookup to find the IP of github, which is 18.104.22.168, so I added a rule like so; "ip route add 22.214.171.124/28 dev wlan0", but if I want to do a "git fetch origin", it says "the remote end hung up unexpectedly". (I configured 'origin' like so; "git remote add origin email@example.com/myusername/mygit.git")
What I hope for; some ingenious guru that bashes my noob-knowledge and points me in the right direction!
thank you so much for any hint..