Better not to mess with ipfilter.conf
The configuration file for your network is /etc/network.conf
edit it ( 1 1  from the beginning of the lrcfg menu)

EXTERN_TCP_PORTS="0/0_smtp 0/0_www"
add port 80 (www) to the end of this line to open the firewall

INTERN_WWW_SERVER=192.168.1.200
this sets up the port 80 forward to your internal machine
save it
# svi network ipfilter flush
# svi network ipfilter restart

# net ipfilter list portfw
to verify it is working
backup etc....

Anthony Lieuallen wrote:

> Bah this is such a poor question to be asking, I know the answer is out
> there somewhere.  I'm looking to port forward through my
> EigerSteinBETA2 LRP box to a www server inside.  Nothing to difficult
> is it?
>
> Well, I made a simple change to /etc/ipfilter.conf, I managed to find
> the part where it checked for internal servers you set:
> if [ -n "$INTERN_WWW_SERVER" ] ; then
>     $IPMASQADM portfw -a -P tcp -L $EXTERN_IP www -R $INTERN_WWW_SERVER
> www
> fi
>
> SO I just set INTERN_WWW_SERVER="192.168.1.200" at the top of
> ipfilter.conf, and
>
> myrouter: -root- # ipmasqadm portfw -l
> prot localaddr            rediraddr          lport    rport  pcnt  pref
> TCP  208.59.162.243       192.168.1.200      www      www    10    10
>
> Shows everything should be port-forwarded the right way, I think.  But,
> I'm seeing denied packets for port 80, and can't find where to change
> that for the life of me.  Where do I stop denying incoming packets on
> port 80?


_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to