OpenVpn - Working but 'connect and disconnect' in logfile

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Advanced Networking
Author Message
Imocarpe
DD-WRT Novice


Joined: 07 Sep 2009
Posts: 9
Location: Lyon, France

PostPosted: Wed Dec 31, 2014 6:46    Post subject: OpenVpn - Working but 'connect and disconnect' in logfile Reply with quote
Hello,

I have something strange on my DDWrt.

My DDWrt is configure to be a openvpn client, it's connect on my server. No problem the vpn is up and working.

But in the ddwrt openvpn log file I can see this kind of stuff

Code:
20141231 19:34:09 MANAGEMENT: Client disconnected
20141231 19:34:11 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20141231 19:34:11 D MANAGEMENT: CMD 'state'
20141231 19:34:11 MANAGEMENT: Client disconnected
20141231 19:34:11 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20141231 19:34:11 D MANAGEMENT: CMD 'state'
20141231 19:34:11 MANAGEMENT: Client disconnected
20141231 19:34:11 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20141231 19:34:11 D MANAGEMENT: CMD 'state'
20141231 19:34:11 MANAGEMENT: Client disconnected
20141231 19:34:11 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20141231 19:34:11 D MANAGEMENT: CMD 'status 2'
20141231 19:34:11 MANAGEMENT: Client disconnected
20141231 19:34:11 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20141231 19:34:11 D MANAGEMENT: CMD 'log 500'
20141231 19:34:11 MANAGEMENT: Client disconnected
20141231 19:34:13 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20141231 19:34:13 D MANAGEMENT: CMD 'state'
20141231 19:34:13 MANAGEMENT: Client disconnected
20141231 19:34:13 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20141231 19:34:13 D MANAGEMENT: CMD 'state'
20141231 19:34:13 MANAGEMENT: Client disconnected
20141231 19:34:13 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16


On sersver side no error, everything is good

I'm working on a Netgear R7000 with DD-WRT v24-sp2 (10/08/14) kongac
(SVN revision 25100M)

Config server side

Code:

# Network declaration for VPN
server 'oneip' 255.255.255.0

# Push route pour le LAN des VM et home LAN

push "route 'oneip' 255.255.255.0"
push "route 'oneip' 255.255.255.0"

# Route for home lan
route 'one IP' 255.255.255.0

# Clients configuration
client-config-dir ccd   # dossier de configuration par client
client-to-client       # permet la communication entre clients

# Logging
log-append /var/log/openvpn.log
verb 5
status /var/log/openvpn-status.log
verb 3

# Network Interface
dev tun0
proto udp
port 'beautiful port'
keepalive 10 120
comp-lzo
cipher AES-256-CBC

# auth
auth SHA256

# Certificates and keys
dh /etc/openvpn/keys/dh2048.pem
ca /etc/openvpn/keys/ca.crt
cert /etc/openvpn/keys/server.crt
key /etc/openvpn/keys/server.key


Every ideas are welcome ! Very Happy
Sponsor
Imocarpe
DD-WRT Novice


Joined: 07 Sep 2009
Posts: 9
Location: Lyon, France

PostPosted: Wed Dec 31, 2014 7:42    Post subject: Reply with quote
Ho!... I just learnt something !
Thank for the reply. Very Happy
jams775
DD-WRT Novice


Joined: 02 Jun 2013
Posts: 7

PostPosted: Thu Feb 12, 2015 17:30    Post subject: Reply with quote
Hope this isn't too old of a thread, but I found it while searching for the same problem.

Is there any way to hide the message? After a while the GUI stops showing any of the log at all.
jams775
DD-WRT Novice


Joined: 02 Jun 2013
Posts: 7

PostPosted: Fri Feb 13, 2015 16:47    Post subject: Reply with quote
Thanks for the reply,

Well what happens to me is after a while the client state (where it says if connection successful), and remote address / client address status disappears along with the log. So I have no idea if it's still connected or not. The only way I can check is by checking my ISP name on whatever website.

Maybe suppressing the log would at least keep that part up?
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Advanced Networking 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