On Fri, 7 Dec 2001, Ashley Thomas wrote: > I have a network as: > > <external > <internal> > > 150.2.3.4 ------------ 150.2.3.5 <Firwall> 10.0.0.199 -------10.0.0.154 > > I need to configure the Firewall to block everything from the external net > except ssh, which has to be port forwarded to the internal m/c 10.0.0.154 <snip> > $IPMASQADM portfw -a -P tcp -L 150.2.3.4 22 -R 10.0.0.154 22
Ashley, your picture is a bit confusing to me. I'm assuming the firewall itself has two nics, with the 150.2.3.5 (external) and 10.0.0.199 (internal) interfaces. The rule above should be $IPMASQADM portfw -a -P tcp -L 150.2.3.5 22 -R 10.0.0.154 22 and it should work, otherwise you are going to have to explain your network setup a bit better. hth charles _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list