All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Leangen <dleangen@canada.com>
To: netfilter@lists.netfilter.org
Subject: Re: Sharing Limited Internet Connection
Date: Sat, 03 Sep 2005 13:19:07 +0900	[thread overview]
Message-ID: <4319243B.3030007@canada.com> (raw)
In-Reply-To: <a0f69e505090204074a5f0dbb@mail.gmail.com>


Can somebody please explain something to me?

> # use MASQ if you get dynamic ip
> iptables -A POSTROUTING -t nat -o eth0 -j MASQUERADE

What's the difference between using "-o ppp0" and "-o eth0"? Obviously, 
one is using the ppp0 interface while the other is using the eth0 
interface. But in terms of what happens to the packets, what's the diff?

Out of curiosity, I tried both: ppp0 works, while eth0 does not.


Cheers,
Dave



  reply	other threads:[~2005-09-03  4:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-02 17:17 Sharing Limited Internet Connection TestMail
2005-09-02  2:39 ` /dev/rob0
2005-09-02 14:57   ` Eduardo Spremolla
2005-09-05 17:52   ` TestMail
2005-09-02  7:13 ` Ruprecht Helms
2005-09-02 11:07   ` Askar
2005-09-03  4:19     ` David Leangen [this message]
2005-09-03  4:39       ` /dev/rob0
2005-09-02 15:02 ` Tom Sullivan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4319243B.3030007@canada.com \
    --to=dleangen@canada.com \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.