I'm not the System Administrator of our corporate network, but I've got two Linux workstations (hosts A and B) with root access to both.
Both hosts can see each other fine (ssh, ping, etc works from one to the other). However, only host A can reach out of our corporate firewall and access the Internet etc; host B cannot.
Question: How could I have all (and not just HTTP) outgoing and incoming network traffic at host B routed via host A, without involving my System Administrator? Right now, I don't know if I would need to use NAT for host B, and/or make host A a proxy server, and/or make host A a router.
On Host B, I tried issuing a
route add -host <HostA> gw <HostA's Gateway> command, but it didn't work: I was unable to
ping www.google.com from Host B. Please pardon my ignorance on this subject of routing/networking.
Many thanks in advance.