> -----Original Message-----
> From: Horatio B. Bogbindero [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 12, 2000 7:14 PM
> To: [EMAIL PROTECTED]
> Subject: [plug] redir httpd service
>
>
>
> i tried the following lines for ipmasqadm
>
> ipmasqadm portfw -a -P tcp -L 10.0.0.1 9999 -R 10.0.0.2 8840
>
> i do a ipmasqadm portfw -l and i find the entry for this rule. but it
> seems to not work pa rin.
>
> what i want to do is whenever somebody accesses with his web browser
> to http://10.0.0.1:9999. he is actually accessing http://10.0.0.2:8840?
Check the following things below:
1. Make sure that your kernel is compiled with ip portforwarding,
masquerading.
2. Check your 10.0.0.2 machine to see if it's really listening on port 8840
3. The 10.0.0.2 machine should have the gateway set to 10.0.0.1
4. Issue ping from the 10.0.0.2 machine. Make sure that 10.0.0.2 can ping
networks beyond 10.0.0.1
5. Make sure that you have input & output chains for your external interface
set to 9999 or else, request will be rejected.
6. Can you please do a ipmasqadm portfw -l -n and paste it here
-
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]