Troubleshooting VPN on Demand

< 1 minute

Having trouble connecting to the Domotz VPN on Demand?
Please follow the instructions here to troubleshoot the functionality.

1) Launch the domotz_bash in c:/Program Files (x86)/domotz/lib/portable-git/bin

2) Go to the folder /c/Program Files (x86)/domotz/lib/node_modules/domotz-remote-pawn/openvpn
and run the command bash domotzvpn_win.sh force-reconf

3) Re-enable the windows service ‘Routing and Remote Access (RemoteAccess)’ it can’t be Disabled. Once enabled and set to Manual the VPN on Demand will start to work again (open the services.msc panel):

$ sudo su
# sudo snap run –shell domotzpro-agent-publicstore
# export PATH=”$SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$PATH”
# export LD_LIBRARY_PATH=”$LD_LIBRARY_PATH:$SNAP/lib:$SNAP/usr/lib:$SNAP/lib/arm-linux-gnueabihf:$SNAP/usr/lib/arm-linux-gnueabihf”
# export LD_LIBRARY_PATH=$SNAP_LIBRARY_PATH:$LD_LIBRARY_PATH
# source $SNAP/lib/node_modules/domotz-remote-pawn/openvpn/domotzvpn.env
# sh $SNAP/lib/node_modules/domotz-remote-pawn/openvpn/domotzvpn.sh force-reconf

Please contact our Support Team on support@domotz.com for further assistance.

Share via Social Networks

You might also like…

Read more top posts in this category

Want more tips on Network Monitoring?

Ready to get started with Domotz?

  • Powerful
  • Automated
  • Simple
  • Affordable
Start Your Free Trial Contact Sales