Skip to content

Commit

Permalink
Need to declare and export variables in script mode
Browse files Browse the repository at this point in the history
  • Loading branch information
gdestuynder committed May 15, 2014
1 parent cd0c8af commit 128068e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions netfilter_openvpn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ address=$2
# Use this if you need to use "username as common name". This has security implications:
# username is arbitrary and sent by the user, common_name matches a signed certificate common bame and cannot be forged.
#common_name=${username}
export operation address common_name

SUDO=/usr/bin/sudo
IPTABLES=/sbin/iptables
Expand Down

0 comments on commit 128068e

Please sign in to comment.