Settting up iptables: sudo ip route | grep default gives result different from tutorialAccess VPN from home is fine but not outside via 3GJuju cannot deploy services with MAASHow to use my ubuntu server as router?External access to Ubuntu single-node openstack horizon dashboardForward packets from bonded LAN interface to WANAllowing Remote Desktop (rdesktop) through Ubuntu (16.04) DHCP SeverCan not forward port

Can there be an atomic nucleus where there are more protons than neutrons?

Rule of thumb: how far before changing my chain to prevent cassette wear

Why did Crew Dragon switch to burst disks instead of multiple check valves?

Is it now possible to undetectably cross the Arctic Ocean on ski/kayak?

Is the algebra of compact operators flat?

Do you say "good game" after a game in which your opponent played poorly?

XDSL Internet Connection Over Optical Fibre Telephone Line?

Any Issues with running Workbench 1.3 on a Kickstart 1.2 Amiga 500?

My Villain scrys on the party, but I forgot about the sensor!

"Table" method for expanding brackets vs "each term in the first bracket gets multiplied by each term in the second bracket"

I got this nail stuck in my tire, should I plug or replace?

Why does Chinuch confuse Parashat Nitzavim and Vayelech?

Paper status "Accept with Shepherd". What does it really mean?

Why is beatboxing called 「ヒューマンビートボックス」?

Where is the 'zone of reversed commands...'?

Does almost every point in Euclidean space have unique projection on any given set?

Who is Sifter, and what is "the so-called Sifter flare"?

Does Wilfred know he is the one to fulfill the four knocks prophecy?

3-prong to 4-prong conversion - EXTRA MISLABELLED WIRES - Dryer cable upgrade and installation

Will Brexit potentially have an impact on intra-Schengen flights by EasyJet in November?

Can you set fire to beer barrels?

"inuendo" in a piano score

Applicable country for US Visa In Icelandair Airline Website

Meaning of 'sick' in 'Kylie Jenner is showing off the new sick ride in her driveway'



Settting up iptables: sudo ip route | grep default gives result different from tutorial


Access VPN from home is fine but not outside via 3GJuju cannot deploy services with MAASHow to use my ubuntu server as router?External access to Ubuntu single-node openstack horizon dashboardForward packets from bonded LAN interface to WANAllowing Remote Desktop (rdesktop) through Ubuntu (16.04) DHCP SeverCan not forward port






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









0

















I'm following this tutorial and am right before Step 7, on this command:



$ sudo ip route | grep default


The output should be:



default dev venet0 scope link


However my output is



default via XXX.XXX.XXX.X dev eth0 onlink


Right after I should run:



sudo iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o venet0 -j MASQUERADE


However seeing as my output differs, I'm not sure what command I should run. Obviously, there needs to be eth0 instead of venet0 and my XXX IP instead of 10.8.0.0/24, but maybe there's some other tweaks to be done?










share|improve this question
































    0

















    I'm following this tutorial and am right before Step 7, on this command:



    $ sudo ip route | grep default


    The output should be:



    default dev venet0 scope link


    However my output is



    default via XXX.XXX.XXX.X dev eth0 onlink


    Right after I should run:



    sudo iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o venet0 -j MASQUERADE


    However seeing as my output differs, I'm not sure what command I should run. Obviously, there needs to be eth0 instead of venet0 and my XXX IP instead of 10.8.0.0/24, but maybe there's some other tweaks to be done?










    share|improve this question




























      0












      0








      0








      I'm following this tutorial and am right before Step 7, on this command:



      $ sudo ip route | grep default


      The output should be:



      default dev venet0 scope link


      However my output is



      default via XXX.XXX.XXX.X dev eth0 onlink


      Right after I should run:



      sudo iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o venet0 -j MASQUERADE


      However seeing as my output differs, I'm not sure what command I should run. Obviously, there needs to be eth0 instead of venet0 and my XXX IP instead of 10.8.0.0/24, but maybe there's some other tweaks to be done?










      share|improve this question














      I'm following this tutorial and am right before Step 7, on this command:



      $ sudo ip route | grep default


      The output should be:



      default dev venet0 scope link


      However my output is



      default via XXX.XXX.XXX.X dev eth0 onlink


      Right after I should run:



      sudo iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o venet0 -j MASQUERADE


      However seeing as my output differs, I'm not sure what command I should run. Obviously, there needs to be eth0 instead of venet0 and my XXX IP instead of 10.8.0.0/24, but maybe there's some other tweaks to be done?







      networking server iptables openvpn






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question



      share|improve this question










      asked May 2 at 21:51









      parsecerparsecer

      1105 bronze badges




      1105 bronze badges























          0






          active

          oldest

          votes













          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/4.0/"u003ecc by-sa 4.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%2f1140086%2fsettting-up-iptables-sudo-ip-route-grep-default-gives-result-different-from-t%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown


























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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%2f1140086%2fsettting-up-iptables-sudo-ip-route-grep-default-gives-result-different-from-t%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

          Distance measures on a map of a game The 2019 Stack Overflow Developer Survey Results Are Inmin distance in a graphShortest distance path on contour plotHow to plot a tilted map?Finding points outside of a diskDelaunay link distanceAnnulus from GeoDisks: drawing a ring on a mapNegative Correlation DistanceFind distance along a path (GPS coordinates)Finding position at given distance in a GeoPathMathematics behind distance estimation using camera

          How to get a smooth, uniform ParametricPlot of a 2D Region?How to plot a complicated Region?How to exclude a region from ParametricPlotHow discretize a region placing vertices on a specific non-uniform gridHow to transform a Plot or a ParametricPlot into a RegionHow can I get a smooth plot of a bounded region?Smooth ParametricPlot3D with RegionFunction?Smooth border of a region ParametricPlotSmooth region boundarySmooth region plot from list of pointsGet minimum y of a certain x in a region

          Genealogie vun de Merowenger Vum Merowech bis zum Chilperich I. | Navigatiounsmenü