ipmasqadm portfw -a -P udp -L 10.0.0.1 9999 -R 192.168.1.2 8830
ipmasqadm portfw -a -P tcp -L 10.0.0.1 9999 -R 192.168.1.2 8830

since you will use it for http, be sure that 192.168.1.2 is listening on
8830.

I am a bit confused with your POST.

> -----Original Message-----
> From: Horatio B. Bogbindero [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 10, 2000 6:12 PM
> To: [EMAIL PROTECTED]
> Subject: [plug] redirecting with linux
> 
> 
> 
> i have a linux box in the local network with an ip address 
> 192.168.1.2. 
> my server has an local ip address of 192.168.1.1 and an external of
> 10.0.0.1. 
> 
> i want that whenever a person from the external network refers to
> 10.0.0.1:9999 he is redirected to 192.168.1.2:8830. the only 
> thing that i
> will allow is http packets with its corresponsing ack and 
> nack packets.
> 
> thanks
> 
>  
> ---------------------
> [EMAIL PROTECTED]
>  
> It is a hard matter, my fellow citizens, to argue with the belly,
> since it has no ears.
>               -- Marcus Porcius Cato
>  
> 
> 
> -
> Philippine Linux Users Group. Web site and archives at 
http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

-
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Reply via email to