|
How to tunnel out of corp VPN for yum updates?
Hello,
I have a FC5 box inside a corporate network. I'd like to be able to get yum updates but can't make that work using the yum Proxy directives in the config file. I believe this is somehow related to the user and password directives but can't make it work. Instead, I was wondering if I could tunnel to the outside somehow. There are two possible methods of egress: HTTP proxy (requiring authentication) and SOCKS 5 proxy (no auth). I also have an Internet-connected FC4 host on the outside. I can ssh to the outside host using SOCKS.
Two methods I've thought of so far that may work:
1. use OpenVPN client and server to tunnel to outside host via either SOCKS or HTTP proxy, then set up routing rule for VPN subnet on external host to NAT to Internet. Seems possible according to OpenVPN page, however at first glance it looks you can only send all traffic, not just port 80. Is this right?
2. use ssh port forwarding to redirect a local port to the outside host, then try to work out some routing rule to forward or NAT that traffic out to the 'net.
Any further clues on these options or other ideas?
Thanks,
Mud
|