John H Darrah wrote:

> On Wed, 18 Mar 1998, Barfuß Egon jun. wrote:
>
> >
> > As gateway my notebook has x.y.1.53, so all should be forwarded to the
> > firewall and from there to the router. From the firewall it is no
> > problem to ping to the internet.
> > The standardgateway from my firewall is x.x.97.62.
> >
> > I tried to forward the packets with ipfwadm like this:
> >     ipfwadm -F -a accept -b -P all -S x.y.1.54 -D 0.0.0.0/0
> >     ipfwadm -F -a accept -b -P all -S 0.0.0.0/0 -D x.y.1.54
> >
>
> Try this to get you started:
>
> ipfwadm -F -f
> ipfwadm -F -p deny
> ipfwadm -F -a masquerade -S 192.168.1.0/24 -W eth0 <-- Your external dev
>                              ^^^^^^
>                                |
>                                +-- Your internal IP NET-Address
>                                    Note Zero as last digit
>                                    or use 0.0.0.0/0
> --
> John Darrah (u05192)            | Dept: N/C Programming
> Giddens Industries Inc.         |
> 1520 80th St SW Bldg "B"        | Ph: (206) 767-4212 #229
> Everett  WA    98203            | Fx: (206) 764-9639

Hi John,

YOU ARE GREAT!!!
Many hours I sat at my firewall and nothing worked. It was the masquerading

Thanks for your help
    Egon

--
Barfusz Egon jun.
Gottschallingerstr. 6
A-4030 Linz
mailto:[EMAIL PROTECTED]



-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to