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;








22















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?










share|improve this question




























    22















    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?










    share|improve this question
























      22












      22








      22


      1






      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?










      share|improve this question














      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 3 '12 at 18:27









      Doktor JDoktor J

      7871619




      7871619




















          2 Answers
          2






          active

          oldest

          votes


















          12














          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





          share|improve this answer






























            24














            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.






            share|improve this answer


















            • 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












            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
            );



            );













            draft saved

            draft discarded


















            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









            12














            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





            share|improve this answer



























              12














              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





              share|improve this answer

























                12












                12








                12







                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





                share|improve this answer













                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






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 30 '15 at 9:30









                John BallJohn Ball

                19612




                19612























                    24














                    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.






                    share|improve this answer


















                    • 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
















                    24














                    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.






                    share|improve this answer


















                    • 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














                    24












                    24








                    24







                    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.






                    share|improve this answer













                    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.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    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













                    • 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


















                    draft saved

                    draft discarded
















































                    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.




                    draft saved


                    draft discarded














                    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





















































                    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







                    Popular posts from this blog

                    RemoteApp sporadic failureWindows 2008 RemoteAPP client disconnects within a matter of minutesWhat is the minimum version of RDP supported by Server 2012 RDS?How to configure a Remoteapp server to increase stabilityMicrosoft RemoteApp Active SessionRDWeb TS connection broken for some users post RemoteApp certificate changeRemote Desktop Licensing, RemoteAPPRDS 2012 R2 some users are not able to logon after changed date and time on Connection BrokersWhat happens during Remote Desktop logon, and is there any logging?After installing RDS on WinServer 2016 I still can only connect with two users?RD Connection via RDGW to Session host is not connecting

                    How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

                    Esgonzo ibérico Índice Descrición Distribución Hábitat Ameazas Notas Véxase tamén "Acerca dos nomes dos anfibios e réptiles galegos""Chalcides bedriagai"Chalcides bedriagai en Carrascal, L. M. Salvador, A. (Eds). Enciclopedia virtual de los vertebrados españoles. Museo Nacional de Ciencias Naturales, Madrid. España.Fotos