Anyone have OpenVPN working w/ v23 SP1 Final vpn ?

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
skinny-water
DD-WRT Novice


Joined: 05 Jul 2006
Posts: 8

PostPosted: Wed Jul 19, 2006 21:58    Post subject: Anyone have OpenVPN working w/ v23 SP1 Final vpn ? Reply with quote
Hello,

Is there anyone out there that has OpenVPN working with DD-WRT v23 SP1 Final (05/16/06) vpn in server mode for multiple clients using certificates?

If so, would you be willing to share you server and client config files? I know that there is considerable documentation in the wiki and the forum but the files shown there won’t work for me on this version of dd-wrt. I have seen some posts about brctl ... could this be the issue?

My rc_startup file look like this:

Code:

iptables -I INPUT 1 -p tcp --dport 1194 -j ACCEPT
openvpn --mktun --dev tap0
brctl addif br0 tap0
ifconfig tap0 0.0.0.0 promisc up
echo "
-----BEGIN CERTIFICATE-----
MIIDJTCCAo6gAwIBAgIJAO/8xOMzZqk+MA0GCSqGSIb3DQEBBAUAMGsxCzAJBgNV
portions omitted
8NbQThfHtEVYhua9qDCBmUutMIZK6/hQoNkXowG4f7gVkqmwJ1jXe80=
-----END CERTIFICATE-----
" > /tmp/ca.crt

echo "
-----BEGIN CERTIFICATE-----
MIIDYjCCAsugAwIBAgIBATANBgkqhkiG9w0BAQQFADBrMQswCQYDVQQGEwJVUzEL
portions omitted
//b3VRcS
-----END CERTIFICATE-----
" > /tmp/server.crt

echo "
-----BEGIN RSA PRIVATE KEY-----
MIICXQIBAAKBgQDDsyN2XqXbqBYHCqNwkTzNMbiqEa2t341PFyLndMow2FJci2Eg
portions omitted
HxlgberLTlvjVhJl/8zbTfAs+JMcbj9Ln5qJChGlqIXGSbOo54oeToJE3N1sriC8
-----END RSA PRIVATE KEY-----
" > /tmp/server.key
chmod 600 /tmp/server.key

echo "
-----BEGIN DH PARAMETERS-----
MIGHAoGBAORnVhLjpAnkOLbAgpx8c42Lcw3oFaoAbc9gcrfJj/udF6Mwq2CLnU
portions omitted
EKwCYqUZvPPdc1evBZUqIvFpZuktKXBbM54k5rMZrniDuqOtW+xTAgEC
-----END DH PARAMETERS-----
" > /tmp/dh1024.pem

echo "
#Connexion Settings
proto tcp
port 1194
dev tap0

#Server Certificate Settings
ca /tmp/ca.crt
cert /tmp/server.crt
key /tmp/server.key  # This file should be kept secret
dh /tmp/dh2048.pem

#Client Certificate Settings
duplicate-cn

#Network Settings
server-bridge 192.168.1.254 255.255.255.0 192.168.1.200 192.168.1.220
client-to-client

#Tunnel Settings
comp-lzo
persist-key
persist-tun
keepalive 10 120

#Service Setting
daemon
" > /tmp/openvpn.conf

ln -s /usr/sbin/openvpn /tmp/myvpn
sleep 5
/tmp/myvpn /tmp/openvpn.conf


I keep getting the following error on startup
Code:

Options error: Unrecognized option or missing parameter(s) in openvpn.conf:14: server-bridge (2.0.6)
Sponsor
sufrano63
DD-WRT User


Joined: 06 Jun 2006
Posts: 488

PostPosted: Wed Jul 19, 2006 22:02    Post subject: Reply with quote
try built 06/15. Any built after that OpenVPN server will not work. Something has to do with brctl. BS is fixing starting with built 07/19

http://www.dd-wrt.com/phpBB2/viewtopic.php?t=1380

_________________
блог путешественника
skinny-water
DD-WRT Novice


Joined: 05 Jul 2006
Posts: 8

PostPosted: Wed Jul 19, 2006 22:20    Post subject: Reply with quote
sufrano63,

thanks for the reply. sorry for my ignorance here but ... where would one find build 6/15?

-sw
AndyD
DD-WRT Novice


Joined: 08 Jun 2006
Posts: 29

PostPosted: Wed Jul 19, 2006 22:23    Post subject: Reply with quote
In the downloads section Confused Razz
sufrano63
DD-WRT User


Joined: 06 Jun 2006
Posts: 488

PostPosted: Wed Jul 19, 2006 22:34    Post subject: Reply with quote
skinny-water wrote:
sufrano63,

thanks for the reply. sorry for my ignorance here but ... where would one find build 6/15?

-sw


untested_alpha_unstable/sp2

_________________
блог путешественника
skinny-water
DD-WRT Novice


Joined: 05 Jul 2006
Posts: 8

PostPosted: Thu Jul 20, 2006 0:17    Post subject: Reply with quote
got it now ... thanks for your patience
sufrano63
DD-WRT User


Joined: 06 Jun 2006
Posts: 488

PostPosted: Thu Jul 20, 2006 0:59    Post subject: Reply with quote
skinny-water wrote:
got it now ... thanks for your patience Хотин


no problem

_________________
блог путешественника
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum