Search code examples
macoscommandciscocisco-iosopenvpn-connect

Unable to run vpnc command


I have installed vpnc with this guide

The installation went fine, but I am unable to run vpnc normally from command line

My content for sbin

enter image description here

The only way to run vpnc is to navigate to /usr/local/sbin then execute sudo ./vpnc or sudo ./vpnc-disconnect

How can I run from anywhere with just sudo vpnc or sudo vpnc-disconnect


Solution

  • I was able to resolve this by creating symbolic link to /bin

    sudo ln -s /usr/local/sbin/vpnc /usr/local/bin/vpnc
    
    sudo ln -s /usr/local/sbin/vpnc-disconnect /usr/local/bin/vpnc-disconnect