Re: Dual port dual subnet question

From: Dave Uhring (daveuhring_at_yahoo.com)
Date: 09/13/04


Date: Sun, 12 Sep 2004 21:24:34 -0500

On Sun, 12 Sep 2004 19:15:43 -0700, Ben Jirou wrote:

> Dave Uhring <daveuhring@yahoo.com> wrote:

> %nat on $ExtIF from 192.168.0.0/24 to any -> ($ExtIF)
> %
> %Is that another typo?
>
> No typo, here is how I have it (copy and paste from putty this time):
>
>
> # NAT
> # Connect between ext2_if and 192.168.1.1
> nat on $ext_if from 192.168.1.0/24 to any -> $ext_if
>
> # Connect between ext_if and 192.168.3.1
> nat on $ext2_if from 192.168.3.0/24 to any -> $ext2_if

You need parentheses. Look more closely at my line - taken directly from
my NAT/firewall.



Relevant Pages

  • Re: Typo in include/linux/mmzone.h
    ... >No typo there at all. ... But we do not need the parentheses around it. ... Jan Engelhardt ... | Alphagate Systems, http://alphagate.hopto.org/ ...
    (Linux-Kernel)
  • Re: Dual port dual subnet question
    ... I tried parentheses but that did not make any difference. ... Thanks for the suggestion. ... %> Dave Uhring wrote: ... %> No typo, here is how I have it (copy and paste from putty this ...
    (comp.unix.bsd.openbsd.misc)
  • Re: Test if a number falls between 2 values
    ... just a typo. ... Interesting formula (although needs another close parentheses). ... I could simplify it to: ... Which is one keystroke shorter than mine: ...
    (microsoft.public.excel.worksheet.functions)
  • Re: 1 to 10
    ... William Elliot writes: ... Surely that last line is a typo? ... parentheses: 1111!,!,!)!, and so on. ... No biggest. ...
    (sci.math)
  • Re: WRT54G Wireless NAT configuration issue...
    ... The application is called Osirix and its a MAC OS X application. ... And yes I did notice the typo in the posting.. ... i.e. the nat is as you stated.. ...
    (alt.internet.wireless)