Tugger the SLUGger!SLUG Mailing List Archives

RE: [SLUG] Routing a specific port to another machine on the inside


Having another look at my set-up, I find that I am using IPCHAINS.

---> snip <---

ipchains -P forward DENY
ipchains -A forward -j MASQ -s 192.168.0.0/24 -d 0.0.0.0/0

echo "1" > /proc/sys/net/ipv4/ip_forward

---> snip <---

Can I still do the same using ipchains?

Regards
Adrian

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

                Phone:  +61 (0)4 0720 8910
            Facsimile:  +61 (0)4 0720 5410
                Email:  adrian@xxxxxxxxxx

> -----Original Message-----
> From: Des Wass [mailto:DWASS@xxxxxxxxxxxxx]
> Sent: Tuesday, 21 November 2000 8:06
> To: 'slug@xxxxxxxxxxx'; 'Adrian'
> Subject: RE: [SLUG] Routing a specific port to another machine on the
> inside
>
>
>
> The ipmasqadm package. You will need make sure portforwarding is
> enabled in
> the kernel, once installed:
>
> ipmasqadm portfw -a -P tcp -L (External address Port) -R (Internal address
> Port)
>
> That'll do it.
>
> > -----Original Message-----
> > From: Adrian [mailto:adrian@xxxxxxxxxx]
>
> > I am running redhat6.2 as a firewall.  I am masquerading to a
> > 192.168.0.0/255.255.255.0 network.  I want to route a
> > specific port from the
> > outside world to a server on the inside.  How do I do this.
> >
>
>
> --
>               |Lanrex Computer Systems
> Desmond Wass  |http://www.lanrex.com.au
> 0411 056 027  |Phone: +61 2 9416 1100
>               |Fax: +61 2 9416 9633
>
>