I need to forward incoming connection requests from the Internet to an
internal web server using IP Chains. The web server has a private IP address
using masq, but because it does I can not simply us the following IP Chains
command:

ipchains -A forward -i $SERVER_LAN_INTERFACE -p tcp -s $ANYWHERE
$UNPRIVATEPORTS -d $WEB_SERVER 80 -j ACCEPT

What other alternatives are their available to use? My proxy server is
Linux. Does Linux have any built in NAT? Using NAT I could use a public NAT
address and forward the request to an internal private address. Also, it is
my understanding that an experimental product called ipmasqadm can assist
with my problem. Has anyone had any experiance using it? Is is secure? Using
ipmasqadm with the following command should work?

ipmasqadm portfw -f
ipmasqadm portfw -a -p tcp -L $IPADDR -R 192.168.4.2 80



/===============================\
| Micky Mimo                    |
| Systems Specialist            |
| (781) 869 - 3677   ext.505    |
| [EMAIL PROTECTED]         |
\===============================/

-
[To unsubscribe, send mail to [EMAIL PROTECTED] with
"unsubscribe firewalls" in the body of the message.]

Reply via email to