Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This 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.


  Search this Thread
Old 01-25-2007, 11:57 AM   #1
Registered: Oct 2005
Distribution: Kubuntu
Posts: 38

Rep: Reputation: 15
openvpn, very confused

Hi all, I am trying to set up a vpn server, and very confused about everything. My plan, please tell me if it can't be done, Is to connect to the vpn server and use the vpn connection to surf the web/check e-mail/ all the internet stuff. I have looked at alot of websites, and i am so confused that i have no idea what to do anymore. The website that i have followed is
Using that server.conf and client.conf i can connect *i think* to the vpn server, but i don't know how to check to see if i actraully am connected. Any help would be great.
Old 01-26-2007, 01:19 AM   #2
LQ Newbie
Registered: Mar 2005
Distribution: Debian 3.1, Red Hat 9 Linux
Posts: 23

Rep: Reputation: 15
Hi ShadowHywind,

I set up my own openVPN server and clients a few months ago, and I found the HOWTO here the most helpful: I followed it pretty much step-by-step, and I've got a working setup.

I'm a little fuzzy on exactly what you have to do to route all your internet traffic through the VPN, but I'm quite sure it can be done. You might look into using a "bridged" connection to your VPN. Any specific reason you want _all_ your internet traffic tunneled through the VPN? In my setup, I only use the VPN to encrypt my hard disk backups over the internet (and so that the computers being backed up act like they're on the same subnet as the backup server).

As for checking to see if you're actually connected... "sudo ifconfig" will show you all your network adapters. If you see either a "tun*" or "tap*" device, you're most likely connected. to make doubly sure, you can ping your VPN server. Say you've been assigned the ip address on your tun adapter, "ping" should be what you want.




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenVPN client has not default gateway when connect to OpenVPN server sailershen Linux - Security 3 03-04-2010 02:20 AM
openVPN... lakshminarayan Linux - Networking 5 07-23-2006 04:52 AM
OpenVPN wwnexc Linux - Software 6 05-20-2006 02:34 PM
OpenVPN dunmarie Linux - Networking 1 03-31-2004 09:28 AM
OpenVPN dunmarie Linux - Software 1 10-13-2003 12:10 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:16 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration