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;
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
add a comment
|
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
add a comment
|
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
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
networking server iptables openvpn
asked May 2 at 21:51
parsecerparsecer
1105 bronze badges
1105 bronze badges
add a comment
|
add a comment
|
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
);
);
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%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
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.
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%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
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