Client or server?
It's mostly in nvram. Assuming OpenVPN client 1:
Code:nvram show | grep vpn_client1
This will give you the list of vpn_client1_xxx variables. You have to unset all of them, one by one.
Code:nvram unset vpn_client1_rgw nvram unset vpn_client1_dns etc... nvram commit
Yes, there's a lot of them...
Thanks for these instructions. I am giving a router to a friend and don't want to leave on it a client entry which would only need to be enabled for him to gain access to our corporate network. I would think giving away a router with VPN clients on it is a common problem, and doing a factory reset seems an extreme route to clearing those VPN clients.
Thanks so much for your enhancements to the VPN services. I have been able to pretty easily deploy a network of VPN-connected sites just as I had imagined might be possible.