vpncwatch icon indicating copy to clipboard operation
vpncwatch copied to clipboard

Both release-1.8.1 and trunk not reading vpnc config file

Open hholtmann1970 opened this issue 11 years ago • 2 comments

I tried testing both trunk and 1.8.1 using all the params with an existing vpnc configuration that I know works correctly when using vpnc on the command line specifying the config file to use.. but the following use of vpncwatch seems to indicate that it is not finding, or opening the config file.. because I get all the config prompts from vpnc on the console as if it was an interactive setup

$ ./vpncwatch -c 10.100.4.7 -p 80 -i 5 vpnc /etc/vpnc/resd.conf

vpnc is in my path and is found.. but it seems to ignore my specified read.conf file

Any fix?

hholtmann1970 avatar Dec 06 '13 21:12 hholtmann1970

Let me take a look at this some time this week when I get a chance. I don't have an idea off the top of my head right now, but it does not sound difficult to fix.

dcantrell avatar Dec 08 '13 13:12 dcantrell

its not urgent...The work-around for me is to copy (or rename) my /etc/vpnc/resd.conf file to /etc/vpnc/default.conf and just specify the vpncwatch params without the resd.conf at the end..... the vpnc command will then pick up the default.conf file and do what is expected.. with no prompting.

Thanks for your consideration and time. ;)

hholtmann1970 avatar Dec 09 '13 02:12 hholtmann1970