entire connection log

Share your awesome tips and tricks here.

Moderator: Lillian.W@AST

Post Reply
earthwalkerx
Posts: 36
youtube meble na wymiar Warszawa
Joined: Sat May 21, 2016 6:38 am

entire connection log

Post by earthwalkerx »

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
User avatar
orion
Posts: 3485
Joined: Wed May 29, 2013 11:09 am

Re: entire connection log

Post by orion »

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.
earthwalkerx
Posts: 36
Joined: Sat May 21, 2016 6:38 am

Re: entire connection log

Post by earthwalkerx »

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: 36
Joined: Sat May 21, 2016 6:38 am

Re: entire connection log

Post by earthwalkerx »

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.
User avatar
orion
Posts: 3485
Joined: Wed May 29, 2013 11:09 am

Re: entire connection log

Post by orion »

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
Post Reply

Return to “Tips & Tricks”