From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rob Sterenborg (lists)" Subject: Re: masquerade error Date: Fri, 14 Oct 2011 11:05:18 +0200 Message-ID: <1318583118.3179.6.camel@ns014530.dcyb.net> References: <4E93E9B8.3010005@gmail.com> <4E94480C.4050604@googlemail.com> <4E95D9E2.4010002@gmail.com> <4E97E602.3000809@gmail.com> <1318582536.3179.5.camel@ns014530.dcyb.net> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1318582536.3179.5.camel@ns014530.dcyb.net> Sender: netfilter-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: J Webster Cc: netfilter@vger.kernel.org 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 To reply to self.. a better description here would be . > -j DNAT --to-destination > > Please check the SNAT and DNAT targets with 'man iptables' for the > details. > > > -- > Rob