Score:0

how to automatically configure openvpn server?

in flag

I was wondering the best way to get an openvpn server to configure dynamically based on the network connections of a device.

When the server is turned on I want to assume it knows nothing of the network its connected to, I have ideas but most of them involve monitoring interfaces, config editing and restarting the service which seems.

How would you do it, if you had to?

us flag
By using the operating system's network initialisation hooks to set up configuration files.
TheHidden avatar
in flag
I thought that might be what someone suggests, was hoping there was a cleaner way but I did not know what I was hoping for tbh... I guess it will be a network change / interface up -> modify config file -> restart service ? this is going to require some hacky script
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.