LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Thread Tools
Old 11-03-2009, 01:53 PM   #1
danmartinj
LQ Newbie
 
Registered: Oct 2009
Posts: 16
Thanked: 0
Debian OpenVPN Setup Question


[Log in to get rid of this advertisement]
Hello All,
First thanks for viewing my thread. Anyhow, I just recently setup an OpenVPN server and OpenVPN client. At least I think I did. I have been fallowing these tutorails mainly:
http://cihan.me/how-to-setup-openvpn...-debian-lenny/
http://www.openvpn.net/index.php/ope...ion/howto.html

Anyhow, I have tried to confirm that it works but I am not getting any clean indication either way.

By typing: openvpn [server config file]
You are suppose to get feedback initilization information back I get no information back.

My experiment network setup is like this:
_____________B-------C
A------B_____10.0.63.X_______C-------D
10.0.62.X____________________10.0.64.X

4 Debian machines connected to eachother accross a basic switch forming 3 separate networks simulating 2 LAN's and a WAN in between them. I have virtual interfaces on B and C and use static routing to make this setup work.

I am confident I published all my keys/certificates correctly:

my client.conf file is:
##NEW CLIENT.CONF FILE EDITED NOV32009, BACKUP IS ON DESKTOP, AUTHOR DAN
client
proto udp
dev tun
remote 10.0.63.1 1194
ca /usr/share/doc/openvpn/examples/easy-rsa/2.0/keys/ca.crt
cert /usr/share/doc/openvpn/examples/easy-rsa/2.0/keys/client.crt
key /usr/share/doc/openvpn/examples/easy-rsa/2.0/keys/client.key

#MIGHT NEED DH AS WELL
#dh /usr/share/doc/openvpn/examples/easy-rsa/2.0/keys/dh1024.pem
#server 10.8.0.0 255.255.255.0
#server 10.0.63.0 255.255.255.0
ifconfig-pool-persist ipp.txt

#ADD ROUTE TO 64 SUBNET
push "route 10.0.63.0 255.255.255.0"

#push "route 192.168.1.0 255.255.255.0"
#push "redirect-gateway def1"
#push "dhcp-option DNS 192.168.1.1"


client-to-client
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
log /var/log/openvpn.log
log-append /var/log/openvpn.log
verb 3


My server.conf file is:
##NEW SERVER.CONF FILE EDITED NOV32009, BACKUP IS ON DESKTOP, AUTHOR DAN
port 1194
proto udp
dev tun
ca /usr/share/doc/openvpn/examples/easy-rsa/2.0/keys/ca.crt
cert /usr/share/doc/openvpn/examples/easy-rsa/2.0/keys/server.crt
key /usr/share/doc/openvpn/examples/easy-rsa/2.0/keys/server.key
dh /usr/share/doc/openvpn/examples/easy-rsa/2.0/keys/dh1024.pem
#server 10.8.0.0 255.255.255.0
server 10.0.63.0 255.255.255.0
ifconfig-pool-persist ipp.txt

#ADD ROUTE TO 64 SUBNET
push "route 10.0.64.0 255.255.255.0"

#push "route 192.168.1.0 255.255.255.0"
#push "redirect-gateway def1"
#push "dhcp-option DNS 192.168.1.1"


client-to-client
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
log /var/log/openvpn.log
log-append /var/log/openvpn.log
verb 3


Any help would be very appreciated. Thanks Again!
Dan
linux danmartinj is offline     Reply With Quote
Old 11-03-2009, 04:50 PM   #2
TB0ne
Senior Member
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, Mandrake, RedHat, Gentoo, Slack
Posts: 4,076
Thanked: 143
Quote:
Originally Posted by danmartinj View Post
Hello All,
First thanks for viewing my thread. Anyhow, I just recently setup an OpenVPN server and OpenVPN client. At least I think I did. I have been fallowing these tutorails mainly:
http://cihan.me/how-to-setup-openvpn...-debian-lenny/
http://www.openvpn.net/index.php/ope...ion/howto.html

Anyhow, I have tried to confirm that it works but I am not getting any clean indication either way.

Dan
Don't double-post the same question in multiple forums.
linuxsuse TB0ne is offline     Reply With Quote



Reply

Bookmarks


Thread Tools

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
Debian Etch Gateway setup, DNS server question. jvedi Linux - Networking 4 10-04-2008 01:55 AM
Complex OpenVPN setup and routing joadoor Linux - Networking 2 08-05-2008 09:28 PM
OpenVPN Question : connecting 5-6 comps with OpenVPN duryodhan Linux - Networking 7 02-15-2007 11:28 PM
easy debian openvpn setup article lampnewb Linux - Networking 1 01-31-2007 05:51 AM
Debian 32bit chroot setup question Oxyacetylene Debian 4 11-28-2005 09:01 AM


All times are GMT -5. The time now is 02:24 AM.

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