Page 1 of 1
[solved]how Enable OpenVPN management console
Posted: Thu Jul 28, 2011 4:41 am
by lamtota
Hi all,
I'd need a template to monitor the number of open/active OpenVPN connections.
Is there a known way to do this with webmin? Has anyone already a solution for this issue?
why when I enter the script management localhost 7505 has always had an error
openvpn will not run
Many thanks in advance
sorry i can not write properly, because I'm Indonesian
These also help google translate
Re: [help]how Enable OpenVPN management console
Posted: Thu Jul 28, 2011 7:46 am
by maikcat
hi there,
>when I enter the script management localhost 7505 has always had an error
script?
you mean directive inside server config file..
can you post us the logs?
Michael.
Re: [help]how Enable OpenVPN management console
Posted: Thu Jul 28, 2011 2:58 pm
by lamtota
I run openvpn with
webmin
port 1194
proto udp
dev tun0
ca keys/myvpn/ca.crt
cert keys/myvpn/serverkey.crt
key keys/myvpn/serverkey.key
dh keys/myvpn/dh2048.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist servers/server/logs/ipp.txt
tls-auth servers/server/ta.key 0
cipher AES-256-CBC
user nobody
group adm
status servers/server/logs/openvpn-status.log
log-append servers/server/logs/openvpn.log
verb 2
mute 20
max-clients 100
local 83.222.xxx.xxx
keepalive 5 30
client-config-dir /etc/openvpn/servers/server/ccd
tls-server
comp-lzo
persist-key
persist-tun
ccd-exclusive
push "redirect-gateway def1"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
management localhost 7505
when I run
[root@livecd ~]# /etc/init.d/openvpn start
Starting openvpn:
[FAILED]
when I delete
management localhost 7505
[root@livecd ~]# /etc/init.d/openvpn start
Starting openvpn:
[ OK ]
I want to enable as shown below
what's the solution?
Re: [help]how Enable OpenVPN management console
Posted: Thu Jul 28, 2011 3:03 pm
by Bebop
lamtota wrote:
[root@livecd ~]# /etc/init.d/openvpn start
Starting openvpn: [FAILED]
when I delete management localhost 7505
[root@livecd ~]# /etc/init.d/openvpn start
Starting openvpn: [ OK ]
maikat will also want to see the content of your log "
servers/server/logs/openvpn.log", and set the verb to 3.
so the answer to above will be more obvious.
Re: [help]how Enable OpenVPN management console
Posted: Fri Jul 29, 2011 12:58 pm
by lamtota
Fri Jul 29 08:47:04 2011 OpenVPN 2.2.0 x86_64-redhat-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] built on Jun 6 2011
Fri Jul 29 08:47:04 2011 MANAGEMENT: Socket bind failed on local address 127.0.0.1:7505: Permission denied
Fri Jul 29 08:47:04 2011 Exiting
whether there are additional software/plugin assistance to enable openvpn managemen?
What should enable port 7505 on the iptables?
if yes, how the configuration
Re: [help]how Enable OpenVPN management console
Posted: Fri Jul 29, 2011 1:32 pm
by maikcat
do you have selinux enabled?
please post output of sestatus
Michael.
Re: [help]how Enable OpenVPN management console
Posted: Mon Aug 01, 2011 1:18 pm
by janjust
before starting openvpn, what does
show ? is another process already listening on that port? can you try using port 7506?
Re: [help]how Enable OpenVPN management console
Posted: Mon Aug 08, 2011 3:57 am
by lamtota
janjust wrote:before starting openvpn, what does
show ? is another process already listening on that port? can you try using port 7506?
thanks for the advice
really turned out to port 7505 already in use
OK thanks SOLVED