Ubuntu 16.04 Tor Transparent Proxy The 2019 Stack Overflow Developer Survey Results Are In ...

How do you keep chess fun when your opponent constantly beats you?

Windows 10: How to Lock (not sleep) laptop on lid close?

Deal with toxic manager when you can't quit

How to read αἱμύλιος or when to aspirate

Do I have Disadvantage attacking with an off-hand weapon?

Is this wall load bearing? Blueprints and photos attached

Single author papers against my advisor's will?

What information about me do stores get via my credit card?

Can I visit the Trinity College (Cambridge) library and see some of their rare books

What was the last x86 CPU that did not have the x87 floating-point unit built in?

How did the audience guess the pentatonic scale in Bobby McFerrin's presentation?

"... to apply for a visa" or "... and applied for a visa"?

Store Dynamic-accessible hidden metadata in a cell

Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?

What happens to a Warlock's expended Spell Slots when they gain a Level?

Can the Right Ascension and Argument of Perigee of a spacecraft's orbit keep varying by themselves with time?

Do warforged have souls?

What is the padding with red substance inside of steak packaging?

Did the UK government pay "millions and millions of dollars" to try to snag Julian Assange?

how can a perfect fourth interval be considered either consonant or dissonant?

Is every episode of "Where are my Pants?" identical?

Why doesn't a hydraulic lever violate conservation of energy?

Why did Peik Lin say, "I'm not an animal"?

Simulating Exploding Dice



Ubuntu 16.04 Tor Transparent Proxy



The 2019 Stack Overflow Developer Survey Results Are In
Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar ManaraHow to tunnel traffic to certain destinations over ssh?Sharing internet connection with tablet over a proxy-serverTransparent proxy listening on sub-interfacesSetting up Tor as a Transparent Proxyiptables configuration problem for Tor transparent proxyTwo gateways on same networkAllowing Remote Desktop (rdesktop) through Ubuntu (16.04) DHCP SeverTor Browser Bundle/Tor and IPTables: Seeking a Working SetupTransparent Bridge pass vlan trafficubuntu 18.04 Tor transparent proxy





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















I want to setup an Ubuntu Server 16.04 to act as a transparent proxy for all traffic from a specific subnet to Tor. To be specific, I want all traffic on a subnet 10.20.0.0/16 when using the Ubuntu Server to pass through to Tor.



I have tried to use the configuration on https://trac.torproject.org/projects/tor/wiki/doc/TransparentProxy with some obvious modifications. But the client cannot pass traffic through the server when the server is configured as its gateway.



One thing that is tripping me up is that the ens interfaces are not starting on reboot and when I force them up, they ignore the /etc/network/interfaces configuration. Then my iptables are dropping on reboot.



So I have three issues.




  1. How the heck do I get Ubuntu Server 16.05 to work as a Tor Transparent proxy?


  2. What's up with the ens interfaces not coming up on reboot and not
    holding their configuration?


  3. How can I get iptables to keep its configuration?










share|improve this question





























    1















    I want to setup an Ubuntu Server 16.04 to act as a transparent proxy for all traffic from a specific subnet to Tor. To be specific, I want all traffic on a subnet 10.20.0.0/16 when using the Ubuntu Server to pass through to Tor.



    I have tried to use the configuration on https://trac.torproject.org/projects/tor/wiki/doc/TransparentProxy with some obvious modifications. But the client cannot pass traffic through the server when the server is configured as its gateway.



    One thing that is tripping me up is that the ens interfaces are not starting on reboot and when I force them up, they ignore the /etc/network/interfaces configuration. Then my iptables are dropping on reboot.



    So I have three issues.




    1. How the heck do I get Ubuntu Server 16.05 to work as a Tor Transparent proxy?


    2. What's up with the ens interfaces not coming up on reboot and not
      holding their configuration?


    3. How can I get iptables to keep its configuration?










    share|improve this question

























      1












      1








      1








      I want to setup an Ubuntu Server 16.04 to act as a transparent proxy for all traffic from a specific subnet to Tor. To be specific, I want all traffic on a subnet 10.20.0.0/16 when using the Ubuntu Server to pass through to Tor.



      I have tried to use the configuration on https://trac.torproject.org/projects/tor/wiki/doc/TransparentProxy with some obvious modifications. But the client cannot pass traffic through the server when the server is configured as its gateway.



      One thing that is tripping me up is that the ens interfaces are not starting on reboot and when I force them up, they ignore the /etc/network/interfaces configuration. Then my iptables are dropping on reboot.



      So I have three issues.




      1. How the heck do I get Ubuntu Server 16.05 to work as a Tor Transparent proxy?


      2. What's up with the ens interfaces not coming up on reboot and not
        holding their configuration?


      3. How can I get iptables to keep its configuration?










      share|improve this question














      I want to setup an Ubuntu Server 16.04 to act as a transparent proxy for all traffic from a specific subnet to Tor. To be specific, I want all traffic on a subnet 10.20.0.0/16 when using the Ubuntu Server to pass through to Tor.



      I have tried to use the configuration on https://trac.torproject.org/projects/tor/wiki/doc/TransparentProxy with some obvious modifications. But the client cannot pass traffic through the server when the server is configured as its gateway.



      One thing that is tripping me up is that the ens interfaces are not starting on reboot and when I force them up, they ignore the /etc/network/interfaces configuration. Then my iptables are dropping on reboot.



      So I have three issues.




      1. How the heck do I get Ubuntu Server 16.05 to work as a Tor Transparent proxy?


      2. What's up with the ens interfaces not coming up on reboot and not
        holding their configuration?


      3. How can I get iptables to keep its configuration?







      networking server proxy iptables tor






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 27 '16 at 17:18









      Matt AubertMatt Aubert

      612




      612






















          1 Answer
          1






          active

          oldest

          votes


















          0














          Refer to this link, I believe it answers your questions: http://digitalarmedforces.org/index.php/8-linux/19-how-to-setup-tor-as-a-transparent-proxy-on-ubuntu-linux





          share
























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            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%2faskubuntu.com%2fquestions%2f763881%2fubuntu-16-04-tor-transparent-proxy%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














            Refer to this link, I believe it answers your questions: http://digitalarmedforces.org/index.php/8-linux/19-how-to-setup-tor-as-a-transparent-proxy-on-ubuntu-linux





            share




























              0














              Refer to this link, I believe it answers your questions: http://digitalarmedforces.org/index.php/8-linux/19-how-to-setup-tor-as-a-transparent-proxy-on-ubuntu-linux





              share


























                0












                0








                0







                Refer to this link, I believe it answers your questions: http://digitalarmedforces.org/index.php/8-linux/19-how-to-setup-tor-as-a-transparent-proxy-on-ubuntu-linux





                share













                Refer to this link, I believe it answers your questions: http://digitalarmedforces.org/index.php/8-linux/19-how-to-setup-tor-as-a-transparent-proxy-on-ubuntu-linux






                share











                share


                share










                answered 5 mins ago









                poutingcavitypoutingcavity

                145




                145






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • 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%2faskubuntu.com%2fquestions%2f763881%2fubuntu-16-04-tor-transparent-proxy%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

                    Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

                    Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

                    Should I use Docker or LXD?How to cache (more) data on SSD/RAM to avoid spin up?Unable to get Windows File...