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?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.