executeCommand(command);
snprintf(command, STRING_SIZE-1, "/sbin/modprobe tun");
executeCommand(command);
+ snprintf(command, STRING_SIZE-1, "/sbin/modprobe ovpn-dco");
+ executeCommand(command);
snprintf(command, STRING_SIZE-1, "/usr/sbin/openvpn --config /var/ipfire/ovpn/server.conf");
executeCommand(command);
snprintf(command, STRING_SIZE-1, "/bin/chown root.nobody /var/run/ovpnserver.log");
char command[STRING_SIZE];
snprintf(command, STRING_SIZE-1, "/sbin/modprobe tun");
executeCommand(command);
+ snprintf(command, STRING_SIZE-1, "/sbin/modprobe ovpn-dco");
+ executeCommand(command);
snprintf(command, STRING_SIZE-1, "/usr/sbin/openvpn --local %s --config %s", address, configfile);
executeCommand(command);