Everything posted by nycaleksey
I did some further digging, familiarized myself with OpenWRT for the first time, and I think I found a problem that prevents OpenVPN module from working - it does not enable openvpn.custom_config in UCI. So, after manually running uci set openvpn.custom_config.enabled=1 uci commit OpenVPN starts working just fine. This should be done as part of enabling the module by Module Manager, I think.
I have made some progress - everything works fine if I run openvpn manually: root@turtle:/tmp# /usr/sbin/openvpn --daemon --config /etc/openvpn/my-vpn.conf however, /etc/init.d/openvpn start" still does not start openvpn. I have looked through that script and it's quite complex - it tries building configs on the fly and does some other stuff. So, for now, I made a simple bandaid solution - in /etc/turtle/openvpn module definition I have replace start routine from "/etc/init.d/openvpn start" to "/usr/sbin/openvpn --daemon --config /etc/openvpn/my-vpn.conf " and the stop routine with "k
Hi, I just got a Lanturtle and first thing I wanted to do is to make it OpenVPN out to my homebase. I just copied my regular OpenVPN config that works on all other devices incuding IOS devices - but it doesn't work. When I start the module it confirms that OpenVPN is started and even gives out PIDs but then it shows it as "Stopped". The logs on my openvpn server show no connection attempts whatsoever. I cannot find the location of any OpenVPN logs or output on the LanTurtle, and trying run the /usr/sbin/openvpn binary results in empty output. My openvpn config file looks like this: client