OpenVPN Server does not Start

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> X86 based Hardware
Author Message
marcolino7
DD-WRT Novice


Joined: 16 Jan 2008
Posts: 33

PostPosted: Sat Dec 08, 2012 17:32    Post subject: OpenVPN Server does not Start Reply with quote
Hi,
i'm running version 2.4 sp2 rev 20119 and OpenVPN server daemon does not start at reboot.
In log file i got this error:

Code:
Options error: error parsing --server parameters
Use --help for more information.


config file is:
Code:

dh /tmp/openvpn/dh.pem
ca /tmp/openvpn/ca.crt
cert /tmp/openvpn/cert.pem
key /tmp/openvpn/key.pem
keepalive 10 120
verb 4
mute 3
log-append /var/log/openvpn
writepid /var/run/openvpnd.pid
management 127.0.0.1 5002
management-log-cache 50
mtu-disc yes
topology subnet
client-config-dir /tmp/openvpn/ccd
script-security 2
port 18789
proto tcp-server
cipher aes-128-cbc
auth sha1
comp-lzo yes
tls-server
ifconfig-pool-persist /tmp/openvpn/ip-pool 86400
client-to-client
push "redirect-gateway def1"
tcp-nodelay
tun-mtu 1500
server 10.8.0.0 0.0.0.0
dev tun2


I noticed a couple of things.
1st its a Bug i think. In server I got 0.0.0.0 as subnet even if i put 255.255.255.0 in web interface. I tried also to edit config file manually, but i loose modification at reboot.

2nd With correct subnet in server, if i launch open vpn manually from command line, it work, I can connect and it work.

I'm available to help you to troubleshoot.

Marco
Sponsor
marcolino7
DD-WRT Novice


Joined: 16 Jan 2008
Posts: 33

PostPosted: Sat Dec 08, 2012 17:40    Post subject: Reply with quote
I did more test.
With 0.0.0.0 as subnet in server parameter, daemon did not star even manually from command line.

There should be a bug into saving and handling this parameter. Now I'm able to execute openvpn server daemon, manually from command line and editing this file each reboot.

Do you have in plan to fix this?

Thanks
Marco
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> X86 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 cannot attach files in this forum
You cannot download files in this forum