I'm trying to set up a Dragino LG01-S LoRa Gateway but have run into a problem.
It's working fine but I would like to run a VPN client on the Dragino and create a connection back to my own VPN server.
I'm halfway there and can get the Dragino to connect to my VPN but it becomes inaccessible once connected and only stays connected for around 60 seconds. It does not respond to pings from the VPN server.
I guess that I am missing a firewall rule somewhere but, as I can't connect to the Dragino once it is connected to the VPN, I can't work out where/what the rule needs to be!
My VPN config creates an interface called tun0 so I have created a new interface called "vpn" in /etc/config/network and assigned tun0 to it. I've also added the vpn interface to the existing firewall WAN rule.
Has anyone managed to get a VPN working on the Dragino or does anyone have any experience getting a VPN client working on OpenWRT?