What's new

disable duplicate-cn on my openvpn config with postconf scripts

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

kanetaker

Occasional Visitor
Hi, i have a dude for a postconf script, and i would like that someone could help me to resolve this, i need to remove the option by defect im my config.ovpn duplicate-cn for put ip static to my openvpn clients, i created a postconf scripts to remove this option but doesn't work:

#!/bin/sh
CONFIG=$1
source /usr/sbin/helper.sh
pc_delete "path=/etc/openvpn/config.ovpn/duplicate-cn" $CONFIG

Can someone help me?
 
Hi, i have a dude for a postconf script, and i would like that someone could help me to resolve this, i need to remove the option by defect im my config.ovpn duplicate-cn for put ip static to my openvpn clients, i created a postconf scripts to remove this option but doesn't work:

#!/bin/sh
CONFIG=$1
source /usr/sbin/helper.sh
pc_delete "path=/etc/openvpn/config.ovpn/duplicate-cn" $CONFIG

Can someone help me?

Too much....just need this

#!/bin/sh
CONFIG=$1
source /usr/sbin/helper.sh
pc_delete "duplicate-cn" $CONFIG
 

Similar threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top