Shrewsoft [ 1 ] provides a command line interface for automatically configuring a vpn tunnel without user intervention, for example, using the following command
ikec -u username -p password -r configuration -a
Is there a way to detect if the connection attempt was successful, for example, by reading live logs and how we can end the vpn tunnel after a while using the command line. Any help would be noticeable.
source share