NAT

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: JoelDudleyjoel@silverw.com
Date:  
Subject: NAT
OK, having a heck of a time with NAT using portfw. I have a firewall system
with 2 NIC's in it one public and one private. I want www to 204.245.4.140
to forward to a www server on 192.168.0.2. Here is the command I am using
in my rc.firewall script:

$IPMASQADM portfw -a -P tcp -L 204.245.4.140 80 -R 192.1680.02 80

also, cat /proc/sys/net/ipv4/ip_forward returns a 1 so I know forwarding is
enabled. Someone told me that it is not working because I need to set up
proxy arp. I know how to set up proxy arp on a router, but not on a linux
box. When I run my script and try to connect to 204.245.4.140 it just
hangs. Is there something obvious I am doing wrong?? Thanks in advance.

- Joel