Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi
I have installed OpenVPN on my IPCop server and it works fine connecting from client side ,question i have though ,is it possible for me to use the IPCop server as my internet gateway for the client pc once vpn is established ? And if possible ,how to configure it.
Thanks in advance
This is in fact possible. You add this line to the server.conf file (or uncomment it in the sample server.conf file): push "redirect-gateway def1"
It's actually in the How-To towards the bottom, where it explains how to make all client traffic go through the VPN. There may be one other command that has to be run, but I don't think it's completely necessary.
I've got a question for you though. Are you doing the routing or the bridging VPN setup? I've gotten everything working in routing mode, but I want to use bridging mode, and I can't seem to get my Linux server to send any traffic to the tap0 interface. I keep getting "Network is unreachable" on my server whenever I try to connect, and Wire Shark can't see any traffic getting to the bridged tap0 interface.
Thanks for reply Marbles ,i actually got it right ,by just entering Default Gateway in OpenVPN GUI inside IPCop ,once vpn on client side is established the VPN`s default gateway path has less cost than the dialup default gateway ,so all internet traffic automatically gets routed through vpn gateway. Not sure what you mean by the bridging mode though ? Are you talking about OpenVPN or IPCop ?
I was talking about OpenVPN, but I figured it out. Bridging mode is explained pretty well here: http://openvpn.net/bridge.html
Basically, bridging mode is a way to put your remote client PC on your home network as if it were sitting right there plugged into your router. You get all of the broadcast messages, which makes things like file sharing a snap. I could even print to my home PC like this, easily. The problem that was having was that the bridge-start script (in the OpenVPN sample-scripts directory) was taking away my server's default gateway, and I just hadn't noticed this. I fixed the problem though. I'm glad to hear that you have faired well as well.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.