Comments in OpenVPN client config files?How to get config files for package after removing them?Openvpn different subnet with dynamic ip using client-config-dir (cdd)Openvpn routing for lan to lan through tunopenvpn server drops route for clientprevent openvpn client from changing ip of tap deviceSymlinking config filesOpenVPN: Push IP address/routes to client in non-TLS modeOpenVPN Client Local LAN Accesswindows openvpn client as service, choose config fileOpenvpn ignore client config
Junior developer struggles: how to communicate with management?
Python password manager
What are the spoon bit of a spoon and fork bit of a fork called?
Can fracking help reduce CO2?
Number of seconds in 6 weeks
Identifying my late father's D&D stuff found in the attic
Besides the up and down quark, what other quarks are present in daily matter around us?
Why is B♯ higher than C♭ in 31-ET?
What happens if I start too many background jobs?
How did Arya get her dagger back from Sansa?
How do I tell my manager that his code review comment is wrong?
Reconstruct a matrix from its traces
If a prion is a protein, why is it not disassembled by the digestive system?
Enumerate Derangements
Missed the connecting flight, separate tickets on same airline - who is responsible?
Point of the the Dothraki's attack in GoT S8E3?
Do I really need diodes to receive MIDI?
Why was the battle set up *outside* Winterfell?
How can I close a gap between my fence and my neighbor's that's on his side of the property line?
Sub query result is 0
What happens to matryoshka Mordenkainen's Magnificent Mansions?
How to make a newline without autoindent
Has any spacecraft ever had the ability to directly communicate with civilian air traffic control?
Can I get a paladin's steed by True Polymorphing into a monster that can cast Find Steed?
Comments in OpenVPN client config files?
How to get config files for package after removing them?Openvpn different subnet with dynamic ip using client-config-dir (cdd)Openvpn routing for lan to lan through tunopenvpn server drops route for clientprevent openvpn client from changing ip of tap deviceSymlinking config filesOpenVPN: Push IP address/routes to client in non-TLS modeOpenVPN Client Local LAN Accesswindows openvpn client as service, choose config fileOpenvpn ignore client config
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
Is it possible to put comments in the client config files (those in the path specified by "client-config-dir") for OpenVPN, i.e. something beginning with "#" or "//" or the like? If so, what is the appropriate comment character?
configuration openvpn
add a comment |
Is it possible to put comments in the client config files (those in the path specified by "client-config-dir") for OpenVPN, i.e. something beginning with "#" or "//" or the like? If so, what is the appropriate comment character?
configuration openvpn
add a comment |
Is it possible to put comments in the client config files (those in the path specified by "client-config-dir") for OpenVPN, i.e. something beginning with "#" or "//" or the like? If so, what is the appropriate comment character?
configuration openvpn
Is it possible to put comments in the client config files (those in the path specified by "client-config-dir") for OpenVPN, i.e. something beginning with "#" or "//" or the like? If so, what is the appropriate comment character?
configuration openvpn
configuration openvpn
asked Feb 3 '12 at 18:27
Doktor JDoktor J
7871619
7871619
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
As Jim says the examples on the OpenVPN site use # for comments and ; to comment out settings. There is no functional difference but this convention makes it easier to visually identify settings that are commented out.
From https://openvpn.net/index.php/open-source/documentation/howto.html#examples
#################################################
# Sample OpenVPN 2.0 config file for #
<snip>
# Comments are preceded with '#' or ';' #
#################################################
# Which local IP address should OpenVPN
# listen on? (optional)
;local a.b.c.d
# Which TCP/UDP port should OpenVPN listen on?
# If you want to run multiple OpenVPN instances
# on the same machine, use a different port
# number for each one. You will need to
# open up this port on your firewall.
port 1194
# TCP or UDP server?
;proto tcp
proto udp
add a comment |
The '#' prefix is the designated comment tag. The examples on the openvpn website use '#' comments extensively.
Also, the semi-colon - ';' - is used to comment out single lines or items.
1
curious about the rationale behind;
- never seen a specific commenting style for disabled code (as opposed to text) before
– Peter Ehrlich
Mar 26 '15 at 18:33
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f356642%2fcomments-in-openvpn-client-config-files%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
As Jim says the examples on the OpenVPN site use # for comments and ; to comment out settings. There is no functional difference but this convention makes it easier to visually identify settings that are commented out.
From https://openvpn.net/index.php/open-source/documentation/howto.html#examples
#################################################
# Sample OpenVPN 2.0 config file for #
<snip>
# Comments are preceded with '#' or ';' #
#################################################
# Which local IP address should OpenVPN
# listen on? (optional)
;local a.b.c.d
# Which TCP/UDP port should OpenVPN listen on?
# If you want to run multiple OpenVPN instances
# on the same machine, use a different port
# number for each one. You will need to
# open up this port on your firewall.
port 1194
# TCP or UDP server?
;proto tcp
proto udp
add a comment |
As Jim says the examples on the OpenVPN site use # for comments and ; to comment out settings. There is no functional difference but this convention makes it easier to visually identify settings that are commented out.
From https://openvpn.net/index.php/open-source/documentation/howto.html#examples
#################################################
# Sample OpenVPN 2.0 config file for #
<snip>
# Comments are preceded with '#' or ';' #
#################################################
# Which local IP address should OpenVPN
# listen on? (optional)
;local a.b.c.d
# Which TCP/UDP port should OpenVPN listen on?
# If you want to run multiple OpenVPN instances
# on the same machine, use a different port
# number for each one. You will need to
# open up this port on your firewall.
port 1194
# TCP or UDP server?
;proto tcp
proto udp
add a comment |
As Jim says the examples on the OpenVPN site use # for comments and ; to comment out settings. There is no functional difference but this convention makes it easier to visually identify settings that are commented out.
From https://openvpn.net/index.php/open-source/documentation/howto.html#examples
#################################################
# Sample OpenVPN 2.0 config file for #
<snip>
# Comments are preceded with '#' or ';' #
#################################################
# Which local IP address should OpenVPN
# listen on? (optional)
;local a.b.c.d
# Which TCP/UDP port should OpenVPN listen on?
# If you want to run multiple OpenVPN instances
# on the same machine, use a different port
# number for each one. You will need to
# open up this port on your firewall.
port 1194
# TCP or UDP server?
;proto tcp
proto udp
As Jim says the examples on the OpenVPN site use # for comments and ; to comment out settings. There is no functional difference but this convention makes it easier to visually identify settings that are commented out.
From https://openvpn.net/index.php/open-source/documentation/howto.html#examples
#################################################
# Sample OpenVPN 2.0 config file for #
<snip>
# Comments are preceded with '#' or ';' #
#################################################
# Which local IP address should OpenVPN
# listen on? (optional)
;local a.b.c.d
# Which TCP/UDP port should OpenVPN listen on?
# If you want to run multiple OpenVPN instances
# on the same machine, use a different port
# number for each one. You will need to
# open up this port on your firewall.
port 1194
# TCP or UDP server?
;proto tcp
proto udp
answered Mar 30 '15 at 9:30
John BallJohn Ball
19612
19612
add a comment |
add a comment |
The '#' prefix is the designated comment tag. The examples on the openvpn website use '#' comments extensively.
Also, the semi-colon - ';' - is used to comment out single lines or items.
1
curious about the rationale behind;
- never seen a specific commenting style for disabled code (as opposed to text) before
– Peter Ehrlich
Mar 26 '15 at 18:33
add a comment |
The '#' prefix is the designated comment tag. The examples on the openvpn website use '#' comments extensively.
Also, the semi-colon - ';' - is used to comment out single lines or items.
1
curious about the rationale behind;
- never seen a specific commenting style for disabled code (as opposed to text) before
– Peter Ehrlich
Mar 26 '15 at 18:33
add a comment |
The '#' prefix is the designated comment tag. The examples on the openvpn website use '#' comments extensively.
Also, the semi-colon - ';' - is used to comment out single lines or items.
The '#' prefix is the designated comment tag. The examples on the openvpn website use '#' comments extensively.
Also, the semi-colon - ';' - is used to comment out single lines or items.
answered Feb 3 '12 at 18:31
Jim G.Jim G.
2,35711317
2,35711317
1
curious about the rationale behind;
- never seen a specific commenting style for disabled code (as opposed to text) before
– Peter Ehrlich
Mar 26 '15 at 18:33
add a comment |
1
curious about the rationale behind;
- never seen a specific commenting style for disabled code (as opposed to text) before
– Peter Ehrlich
Mar 26 '15 at 18:33
1
1
curious about the rationale behind
;
- never seen a specific commenting style for disabled code (as opposed to text) before– Peter Ehrlich
Mar 26 '15 at 18:33
curious about the rationale behind
;
- never seen a specific commenting style for disabled code (as opposed to text) before– Peter Ehrlich
Mar 26 '15 at 18:33
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f356642%2fcomments-in-openvpn-client-config-files%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown