netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: /dev/rob0 <rob0@gmx.co.uk>
To: netfilter@vger.kernel.org
Subject: Re: Proxy Filter iptable Settings
Date: Sat, 30 Apr 2011 13:28:16 -0500	[thread overview]
Message-ID: <20110430182815.GO2976@cardinal> (raw)
In-Reply-To: <BANLkTincTDu1QiYeiYzVV7+1VUqyv-Q6aQ@mail.gmail.com>

[ Top-posting fixed. Please do not do that. ]

On Sat, Apr 30, 2011 at 12:47:40PM -0500, Mike Hendrie wrote:
> > On Sat, Apr 30, 2011 at 09:02:55AM +0100, Andrew Beverley wrote:
> >> # Setup NAT:
> >> iptables -t nat -A POSTROUTING -o $ext_IF -j MASQUERADE
> 
> Trying to apply:
> iptables -t nat -A POSTROUTING -o $ext_IF -j MASQUERADE
> 
> I get the following error -
> Bad argument `MASQUERADE'
> Try `iptables -h' or 'iptables --help' for more information.
> 
> It does not like the command you suggested.....

You are in over your head here. Again:

> On Sat, Apr 30, 2011 at 11:50 AM, /dev/rob0 <rob0@gmx.co.uk> wrote:
> > On Sat, Apr 30, 2011 at 09:02:55AM +0100, Andrew Beverley wrote:
> >> On Thu, 2011-04-28 at 16:43 -0500, Mike Hendrie wrote:
> >> > All users can get to Google and do searches just fine. I am
> >> > having funny issues with the a couple of application.
> >> >
> >> > I do not understand why I am having the below issues. Could 
> >> > this be because of the iptables?
> >>
> >> Probably, although I would say more accurately because of UFW.
> >> It's quite difficult to diagnose problems with automatically
> >> generated iptables rules.
> >
> > Indeed, and users of such rulesets should be asking elsewhere (at 
> > the provider of the ruleset) for support.

... this is not the place to get UFW support. Andy gave you a good 
(mostly good :) ) answer which you do not seem to have enough 
experience (as a Unix/Linux user) to understand.

The "$string" construct is a sh(1) shell variable. In Netfilter 
terms, it is common to refer to the *ext*ernal *I*nter*f*ace as a 
shell variable; "ext" for "external", "_" for space, and "IF" for 
"interface".

In order to benefit from help on this list, you will need to be able 
to deal in such abstractions. It is not possible to give you literal 
"type this and it will work" instructions.

You'll definitely need more experience to be able to run the proxy 
server you're hoping to use. I recommend that you concentrate on 
learning basic user skills before trying complex system 
administration tasks.

Good luck.
-- 
    Offlist mail to this address is discarded unless
    "/dev/rob0" or "not-spam" is in Subject: header

  parent reply	other threads:[~2011-04-30 18:28 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-27  3:07 Proxy Filter iptable Settings Mike Hendrie
2011-04-27  6:16 ` Andrew Beverley
2011-04-27 11:26   ` Mike Hendrie
2011-04-27 12:17     ` Vigneswaran R
2011-04-27 12:45       ` Mike Hendrie
2011-04-27 13:18         ` Vigneswaran R
2011-04-27 13:41           ` Mike Hendrie
2011-04-27 17:24             ` Andrew Beverley
2011-04-28  6:36             ` Vigneswaran R
2011-04-28 21:43               ` Mike Hendrie
2011-04-29  9:16                 ` Vigneswaran R
2011-04-30  8:02                 ` Andrew Beverley
2011-04-30 16:50                   ` /dev/rob0
2011-04-30 17:47                     ` Mike Hendrie
2011-04-30 18:02                       ` Andrew Beverley
2011-04-30 18:23                         ` Mike Hendrie
2011-04-30 19:08                           ` Andrew Beverley
2011-04-30 19:24                             ` /dev/rob0
2011-05-03 17:23                               ` Mike Hendrie
2011-04-30 18:04                       ` Jan Engelhardt
2011-04-30 18:28                       ` /dev/rob0 [this message]
2011-04-27 16:46         ` Mike Hendrie

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=20110430182815.GO2976@cardinal \
    --to=rob0@gmx.co.uk \
    --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;
as well as URLs for NNTP newsgroup(s).