Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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. I'm already using Goto San's connect.c to cause my ssh connections to go via the SOCKS proxy. I can set up ssh port forwarding, say on port 80, to forward local connections over ssh through the SOCKS proxy then on to a specific destination. Problem is, yum needs to talk to many different URLs, so specifying a fixed destination isn't going to work. My only thoughts now are:
1. to set up a web proxy on my outside machine and set the port forwarding to talk to that, or
2. set up some fancy iptables rules on the outside machine to grab any incoming port 80 requests and forward them out to the default gateway. I guess there would also need to be a rule to handle the responses from the yum repos.