[solved]how Enable OpenVPN management console
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
- lamtota
- OpenVpn Newbie
- Posts: 7
- Joined: Thu Jul 28, 2011 4:21 am
[solved]how Enable OpenVPN management console
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
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
Last edited by lamtota on Mon Aug 08, 2011 4:00 am, edited 2 times in total.
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: [help]how Enable OpenVPN management console
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.
>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.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
- lamtota
- OpenVpn Newbie
- Posts: 7
- Joined: Thu Jul 28, 2011 4:21 am
Re: [help]how Enable OpenVPN management console
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?
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?
- Bebop
- Forum Team
- Posts: 301
- Joined: Wed Dec 15, 2010 9:24 pm
Re: [help]how Enable OpenVPN management console
maikat will also want to see the content of your log "servers/server/logs/openvpn.log", and set the verb to 3.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 ]
so the answer to above will be more obvious.
The cure for boredom is curiosity
- lamtota
- OpenVpn Newbie
- Posts: 7
- Joined: Thu Jul 28, 2011 4:21 am
Re: [help]how Enable OpenVPN management console
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
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
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: [help]how Enable OpenVPN management console
do you have selinux enabled?
please post output of sestatus
Michael.
please post output of sestatus
Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: [help]how Enable OpenVPN management console
before starting openvpn, what does
show ? is another process already listening on that port? can you try using port 7506?
Code: Select all
lsof -i :7505
- lamtota
- OpenVpn Newbie
- Posts: 7
- Joined: Thu Jul 28, 2011 4:21 am
Re: [help]how Enable OpenVPN management console
thanks for the advicejanjust wrote:before starting openvpn, what doesshow ? is another process already listening on that port? can you try using port 7506?Code: Select all
lsof -i :7505
really turned out to port 7505 already in use
OK thanks SOLVED