[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: port redir progress (more questions)



On Thu, 01 Jul 1999 19:53:11 -0700, Nate wrote:

>Is there anything wrong with the following rule?
>
>ipmasqadm portfw -a -P tcp -L 192.168.1.4 http -R 192.168.1.1 http

You should invoke it as "-L <external_ip> www -R <internal_ip> www"

It probably doesn't matter whether you use "www" or "http," both are in 
/etc/services, but your ip addresses seem wrong.

If you are connected to the internet your firewall can't/doesn't have an 
external ip address of 192.168.*.*. This is a reserved IP address for machines 
behind the firewall.


-- 
Sign the EU petition against SPAM:          L I N U X       .~.
http://www.politik-digital.de/spam/        The  Choice      /V\
                                            of a  GNU      /( )\
                                           Generation      ^^-^^



Reply to: