Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Rob Sterenborg (lists)" <lists@sterenborg.info>
To: J Webster <jw.jwebster@gmail.com>
Cc: netfilter@vger.kernel.org
Subject: Re: masquerade error
Date: Fri, 14 Oct 2011 11:05:18 +0200	[thread overview]
Message-ID: <1318583118.3179.6.camel@ns014530.dcyb.net> (raw)
In-Reply-To: <1318582536.3179.5.camel@ns014530.dcyb.net>

On Fri, 2011-10-14 at 10:55 +0200, Rob Sterenborg (lists) wrote:
> On Fri, 2011-10-14 at 08:34 +0100, J Webster wrote:
> > The hosting company have told me that masquerade is not activated:
> > 
> > MASQUERADE target isn\'t activate on your VPS.
> > You can use SNAT or DNAT target in nat tables.
> > 
> > So, how can I use SNAT and DNAT to route the traffic to my OpenVPN?
> 
> -j SNAT --to-source <internet_ip>

To reply to self.. a better description here would be <external_ip>.

> -j DNAT --to-destination <internal_ip>
> 
> Please check the SNAT and DNAT targets with 'man iptables' for the
> details.
> 
> 
> --
> Rob



  reply	other threads:[~2011-10-14  9:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-11  7:01 masquerade error J Webster
2011-10-11 13:31 ` Jan Sarenik
2011-10-11 13:43 ` J Webster
2011-10-12 18:18   ` J Webster
2011-10-13 14:09     ` Jan Sarenik
2011-10-14  7:34     ` J Webster
2011-10-14  8:55       ` Rob Sterenborg (lists)
2011-10-14  9:05         ` Rob Sterenborg (lists) [this message]
     [not found]           ` <4E980738.5040202@googlemail.com>
2011-10-14  9:57             ` J Webster
2011-10-14 10:27               ` Rob Sterenborg (lists)
2011-10-14 11:45                 ` J Webster

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=1318583118.3179.6.camel@ns014530.dcyb.net \
    --to=lists@sterenborg.info \
    --cc=jw.jwebster@gmail.com \
    --cc=netfilter@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox