On Tue, 25 Sep 2001 04:15:07 -0500
"will trillich" <[EMAIL PROTECTED]> wrote:

> i used to have this working like a champ, but now it folds its
> arms and laughs and evil laugh--
> 
> we're trying to establish port forwarding so that a box internal
> on our lan (192.168.1.2) can serve requests through the
> firewall, from 'out there'.
> 
>       # ipmasqadm portfw -a -P tcp -L [PUBLIC_IP] 7890 -R 192.168.1.2 80
> 
>       # ipmasqadm portfw -ln
>       prot localaddr        rediraddr       lport    rport pcnt  pref
>       TCP  [PUBLIC_IP]      192.168.1.2     7890     80    10    10
> 

Have you allowed access to that port with ipchains? The packets will never
get to your ipmasqadm rule if ipchains is rejecting/denying them on input.
Something like this should work:

ipchains -A input -p TCP -d [PUBLIC_IP] --destination-port 7890 -j ACCEPT

Reply via email to