It is currently Fri Jan 15, 2021 11:42 pm
All times are UTC + 8 hours

entire connection log

Share your awesome tips and tricks here.

entire connection log

Postby earthwalkerx » Sat Jul 23, 2016 5:30 pm

Hi,

I searching for an entire connection log.
So I connect my AS6012T with ssh to search for it.

But I can't find it.
Did someone now the folder?


regards
earthwalkerx
 
Posts: 23
Joined: Sat May 21, 2016 6:38 am

Re: entire connection log

Postby orion » Mon Jul 25, 2016 10:47 am

You can enable connection log here: ADM web page -> System Information -> Log -> Preferences -> Active -> enable "Conenction Log". You can change the directory if you want.
User avatar
orion
 
Posts: 2850
Joined: Wed May 29, 2013 11:09 am

Re: entire connection log

Postby earthwalkerx » Wed Jul 27, 2016 12:59 pm

I know this, but it's not realy entire.
I have problems with my vpn connection, so I want to see more details here...
earthwalkerx
 
Posts: 23
Joined: Sat May 21, 2016 6:38 am

Re: entire connection log

Postby earthwalkerx » Tue Aug 02, 2016 1:24 pm

I open a ticket for that, fyi
Use putty or winscp.

Then go to /usr/builtin/etc/vpnclient/ and edit vpn.cert file,
here is the example:
root@AS5004T-9EE9:/volume1/.@root # cd /usr/builtin/etc/vpnclient/
root@AS5004T-9EE9:/volume0/usr/builtin/etc/vpnclient # ls
123.conf 123.crt vpnclient.conf
root@AS5004T-9EE9:/volume0/usr/builtin/etc/vpnclient # vi 123.crt

and add a line following line before the latest line "verb 6"
log /volume1/Public/openvpn.log
then the latest lines of .crt file should look like this:
reneg-sec 0
tun-mtu 1500
log /volume1/Public/openvpn.log
verb 6

*In vi , press "a" to enter editing mode
*After adding the line, press esc and input :wq to save and exit

Then you should be able to see openvpn.log in /Public when connecting to the vpn server.
earthwalkerx
 
Posts: 23
Joined: Sat May 21, 2016 6:38 am

Re: entire connection log

Postby orion » Tue Aug 02, 2016 2:15 pm

earthwalkerx wrote:I open a ticket for that, fyi
Use putty or winscp.

Then go to /usr/builtin/etc/vpnclient/ and edit vpn.cert file,
here is the example:
root@AS5004T-9EE9:/volume1/.@root # cd /usr/builtin/etc/vpnclient/
root@AS5004T-9EE9:/volume0/usr/builtin/etc/vpnclient # ls
123.conf 123.crt vpnclient.conf
root@AS5004T-9EE9:/volume0/usr/builtin/etc/vpnclient # vi 123.crt

and add a line following line before the latest line "verb 6"
log /volume1/Public/openvpn.log
then the latest lines of .crt file should look like this:
reneg-sec 0
tun-mtu 1500
log /volume1/Public/openvpn.log
verb 6

*In vi , press "a" to enter editing mode
*After adding the line, press esc and input :wq to save and exit

Then you should be able to see openvpn.log in /Public when connecting to the vpn server.

Thanks for sharing this useful information!! :D
User avatar
orion
 
Posts: 2850
Joined: Wed May 29, 2013 11:09 am

Return to Tips & Tricks

  • 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 post attachments in this forum
  • Who is online

    Users browsing this forum: No registered users and 2 guests