ChanceM / pfSense-pkg-zerotier

pfSense package to support zerotier.
107 stars 47 forks source link

Needs service restart when openvpn client is restarted #14

Open mig1t opened 2 years ago

mig1t commented 2 years ago

Hi, thank you for developing this wonderful package for pfsense.

I managed to install this on an Intel Mini Pc pFsense 2.5.

I have this cron where every specific time of the day, my 3 openvpn clients are restarted. I noticed, that when this happens, I cant connect to my pfsense from outside, thus requiring manual zerotier service restart.

I reproduced it by manually restarting openvpn clients, and trying to connect on my pfsense from outside via zerotier, and can not connect.

Only manual zerotier service restart solves the issue.

ChanceM commented 2 years ago

Can you give me the command you are using for the cron command?

mig1t commented 2 years ago

Thanks for getting back. Here it is:

/usr/local/sbin/pfSsh.php playback svc restart openvpn client 3

Same for other openvpn clients.

ISP WAN is default in routing tab. Im using policy routing if this info would help.

By the way, restart button for zerotier in service tab wont help, it needs to be stopped then start for me to be able to connect from outside network.

Can I butt in another issue here? I tried to test the speed outside of the network, Im limited to 40mbps up and down. Can this be improved? I had a direct link since peers is showing an IP.