OpenVPN ifconfig-ipv6 in TAP modeipv6 over VPN tunnelcannot connect to work network using OpenVPNpfsense...

Why was the shrinking from 8″ made only to 5.25″ and not smaller (4″ or less)?

Today is the Center

Why are electrically insulating heatsinks so rare? Is it just cost?

Took a trip to a parallel universe, need help deciphering

How to take photos in burst mode, without vibration?

Is it legal for company to use my work email to pretend I still work there?

What mechanic is there to disable a threat instead of killing it?

I Accidentally Deleted a Stock Terminal Theme

Is it inappropriate for a student to attend their mentor's dissertation defense?

Why is it a bad idea to hire a hitman to eliminate most corrupt politicians?

Where does SFDX store details about scratch orgs?

What's the point of deactivating Num Lock on login screens?

Should I tell management that I intend to leave due to bad software development practices?

Theorems that impeded progress

Could gravitational lensing be used to protect a spaceship from a laser?

How to prevent "they're falling in love" trope

Can one be a co-translator of a book, if he does not know the language that the book is translated into?

Did Shadowfax go to Valinor?

What is a clear way to write a bar that has an extra beat?

Arrow those variables!

How could indestructible materials be used in power generation?

Brothers & sisters

I would say: "You are another teacher", but she is a woman and I am a man

1960's book about a plague that kills all white people



OpenVPN ifconfig-ipv6 in TAP mode


ipv6 over VPN tunnelcannot connect to work network using OpenVPNpfsense peer-to-peer OpenVPN not connectingIPv6 Not Routing ProperlyStrange OpenVPN behavior - disconnects after one minuteStatic IPv6 address in Windows unused for outgoing connectionsOpenVPN client on a windows 7, packets not routedApache (Linux) httpd listen on link-local IPv6 addressDebian: Get single IPv6 over DHCP with Prefix DelegationOpenVPN using TAP with a dummy interface






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I want to set up IPv6 address on my OpenVPN server operating in TAP mode.



According to documentation, ifconfig expects two parameters: l and rn. For TAP devices, l is local address, rn is netmask.



It works fine with IPv4: e.g. ifconfig 192.168.2.1 255.255.255.0.



I tried to give it IPv4-like netmask, which is something not really used in IPv6, but I gave it a try. OpenVPN accepted this syntax, but no IP appeared on the interface:



ifconfig-ipv6 fdxx:xxxx:xxxx:2::1 ffff:ffff:ffff:ffff:: # no address on the iface


Apparently, this commit this commit should've implemented prefix length syntax in OpenVPN. It didn't accept single argument, complained that the second one is missing. I tried various dummy arguments, like ::. The server accepted them, but, again, the interface got no address.



ifconfig-ipv6 fdxx:xxxx:xxxx:2::1/64 # complains
ifconfig-ipv6 fdxx:xxxx:xxxx:2::1/64 :: # no address on the iface









share|improve this question














bumped to the homepage by Community 10 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • Did you try ifconfig-ipv6 fdxx:xxxx:xxxx:2::1 64?

    – kasperd
    Jun 19 '15 at 21:55






  • 1





    Just tried it, OpenVPN rejected this syntax.

    – WGH
    Jun 19 '15 at 21:58


















0















I want to set up IPv6 address on my OpenVPN server operating in TAP mode.



According to documentation, ifconfig expects two parameters: l and rn. For TAP devices, l is local address, rn is netmask.



It works fine with IPv4: e.g. ifconfig 192.168.2.1 255.255.255.0.



I tried to give it IPv4-like netmask, which is something not really used in IPv6, but I gave it a try. OpenVPN accepted this syntax, but no IP appeared on the interface:



ifconfig-ipv6 fdxx:xxxx:xxxx:2::1 ffff:ffff:ffff:ffff:: # no address on the iface


Apparently, this commit this commit should've implemented prefix length syntax in OpenVPN. It didn't accept single argument, complained that the second one is missing. I tried various dummy arguments, like ::. The server accepted them, but, again, the interface got no address.



ifconfig-ipv6 fdxx:xxxx:xxxx:2::1/64 # complains
ifconfig-ipv6 fdxx:xxxx:xxxx:2::1/64 :: # no address on the iface









share|improve this question














bumped to the homepage by Community 10 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • Did you try ifconfig-ipv6 fdxx:xxxx:xxxx:2::1 64?

    – kasperd
    Jun 19 '15 at 21:55






  • 1





    Just tried it, OpenVPN rejected this syntax.

    – WGH
    Jun 19 '15 at 21:58














0












0








0








I want to set up IPv6 address on my OpenVPN server operating in TAP mode.



According to documentation, ifconfig expects two parameters: l and rn. For TAP devices, l is local address, rn is netmask.



It works fine with IPv4: e.g. ifconfig 192.168.2.1 255.255.255.0.



I tried to give it IPv4-like netmask, which is something not really used in IPv6, but I gave it a try. OpenVPN accepted this syntax, but no IP appeared on the interface:



ifconfig-ipv6 fdxx:xxxx:xxxx:2::1 ffff:ffff:ffff:ffff:: # no address on the iface


Apparently, this commit this commit should've implemented prefix length syntax in OpenVPN. It didn't accept single argument, complained that the second one is missing. I tried various dummy arguments, like ::. The server accepted them, but, again, the interface got no address.



ifconfig-ipv6 fdxx:xxxx:xxxx:2::1/64 # complains
ifconfig-ipv6 fdxx:xxxx:xxxx:2::1/64 :: # no address on the iface









share|improve this question














I want to set up IPv6 address on my OpenVPN server operating in TAP mode.



According to documentation, ifconfig expects two parameters: l and rn. For TAP devices, l is local address, rn is netmask.



It works fine with IPv4: e.g. ifconfig 192.168.2.1 255.255.255.0.



I tried to give it IPv4-like netmask, which is something not really used in IPv6, but I gave it a try. OpenVPN accepted this syntax, but no IP appeared on the interface:



ifconfig-ipv6 fdxx:xxxx:xxxx:2::1 ffff:ffff:ffff:ffff:: # no address on the iface


Apparently, this commit this commit should've implemented prefix length syntax in OpenVPN. It didn't accept single argument, complained that the second one is missing. I tried various dummy arguments, like ::. The server accepted them, but, again, the interface got no address.



ifconfig-ipv6 fdxx:xxxx:xxxx:2::1/64 # complains
ifconfig-ipv6 fdxx:xxxx:xxxx:2::1/64 :: # no address on the iface






openvpn ipv6






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jun 19 '15 at 21:47









WGHWGH

1157




1157





bumped to the homepage by Community 10 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 10 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Did you try ifconfig-ipv6 fdxx:xxxx:xxxx:2::1 64?

    – kasperd
    Jun 19 '15 at 21:55






  • 1





    Just tried it, OpenVPN rejected this syntax.

    – WGH
    Jun 19 '15 at 21:58



















  • Did you try ifconfig-ipv6 fdxx:xxxx:xxxx:2::1 64?

    – kasperd
    Jun 19 '15 at 21:55






  • 1





    Just tried it, OpenVPN rejected this syntax.

    – WGH
    Jun 19 '15 at 21:58

















Did you try ifconfig-ipv6 fdxx:xxxx:xxxx:2::1 64?

– kasperd
Jun 19 '15 at 21:55





Did you try ifconfig-ipv6 fdxx:xxxx:xxxx:2::1 64?

– kasperd
Jun 19 '15 at 21:55




1




1





Just tried it, OpenVPN rejected this syntax.

– WGH
Jun 19 '15 at 21:58





Just tried it, OpenVPN rejected this syntax.

– WGH
Jun 19 '15 at 21:58










1 Answer
1






active

oldest

votes


















0














As it turned out, this question has been posted on mailing lists earlier.



The correct syntax is indeed ifconfig-ipv6 fdxx:xxxx:xxxx:2::1/64 ::, but you also need to set tun-ipv6 (even if you're using TAP mode, which is pretty confusing).



However, as of at least OpenVPN 2.3.4, it won't work unless you have IPv4 address specified with ifconfig. Might be a bug, or I'm missing something else.






share|improve this answer
























    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%2f700357%2fopenvpn-ifconfig-ipv6-in-tap-mode%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    As it turned out, this question has been posted on mailing lists earlier.



    The correct syntax is indeed ifconfig-ipv6 fdxx:xxxx:xxxx:2::1/64 ::, but you also need to set tun-ipv6 (even if you're using TAP mode, which is pretty confusing).



    However, as of at least OpenVPN 2.3.4, it won't work unless you have IPv4 address specified with ifconfig. Might be a bug, or I'm missing something else.






    share|improve this answer




























      0














      As it turned out, this question has been posted on mailing lists earlier.



      The correct syntax is indeed ifconfig-ipv6 fdxx:xxxx:xxxx:2::1/64 ::, but you also need to set tun-ipv6 (even if you're using TAP mode, which is pretty confusing).



      However, as of at least OpenVPN 2.3.4, it won't work unless you have IPv4 address specified with ifconfig. Might be a bug, or I'm missing something else.






      share|improve this answer


























        0












        0








        0







        As it turned out, this question has been posted on mailing lists earlier.



        The correct syntax is indeed ifconfig-ipv6 fdxx:xxxx:xxxx:2::1/64 ::, but you also need to set tun-ipv6 (even if you're using TAP mode, which is pretty confusing).



        However, as of at least OpenVPN 2.3.4, it won't work unless you have IPv4 address specified with ifconfig. Might be a bug, or I'm missing something else.






        share|improve this answer













        As it turned out, this question has been posted on mailing lists earlier.



        The correct syntax is indeed ifconfig-ipv6 fdxx:xxxx:xxxx:2::1/64 ::, but you also need to set tun-ipv6 (even if you're using TAP mode, which is pretty confusing).



        However, as of at least OpenVPN 2.3.4, it won't work unless you have IPv4 address specified with ifconfig. Might be a bug, or I'm missing something else.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jun 19 '15 at 22:08









        WGHWGH

        1157




        1157






























            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%2f700357%2fopenvpn-ifconfig-ipv6-in-tap-mode%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

            As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

            Список ссавців Італії Природоохоронні статуси | Список |...

            Українські прізвища Зміст Історичні відомості |...