Author
Message
skinny-water DD-WRT Novice Joined: 05 Jul 2006 Posts: 8
Posted: Wed Jul 19, 2006 21:58 Post subject: Anyone have OpenVPN working w/ v23 SP1 Final vpn ?
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)
Back to top
Sponsor
sufrano63 DD-WRT User Joined: 06 Jun 2006 Posts: 488
Back to top
skinny-water DD-WRT Novice Joined: 05 Jul 2006 Posts: 8
Posted: Wed Jul 19, 2006 22:20 Post subject:
sufrano63,
thanks for the reply. sorry for my ignorance here but ... where would one find build 6/15?
-sw
Back to top
AndyD DD-WRT Novice Joined: 08 Jun 2006 Posts: 29
Posted: Wed Jul 19, 2006 22:23 Post subject:
In the downloads section
Back to top
sufrano63 DD-WRT User Joined: 06 Jun 2006 Posts: 488
Posted: Wed Jul 19, 2006 22:34 Post subject:
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 _________________блог путешественника
Back to top
skinny-water DD-WRT Novice Joined: 05 Jul 2006 Posts: 8
Posted: Thu Jul 20, 2006 0:17 Post subject:
got it now ... thanks for your patience
Back to top
sufrano63 DD-WRT User Joined: 06 Jun 2006 Posts: 488
Posted: Thu Jul 20, 2006 0:59 Post subject:
skinny-water wrote: got it now ... thanks for your patience Хотин
no problem _________________блог путешественника
Back to top