Date: Wed, 24 Jul 2002 11:00:20 +0530 From: "Naga Suresh B" <torvalds@addr.com> To: <freebsd-security@FreeBSD.ORG> Cc: <freebsd-ipfw@FreeBSD.ORG> Subject: problem with portforwarding Message-ID: <004d01c232d3$352683c0$9600a8c0@blraddrcom>
next in thread | raw e-mail | index | archive | help
Hai, We are facing a problem in configuring the portforwarding on our gateway. We are having a gateway with two network cards one with external ip(xxx.xxx.xxx.170) and another one with internal ip(192.168.0.200). We Created an alias ip for another external ip(xxx.xxx.xxx.172) and we had done portforwarding 443 to another internal ip (192.168.0.203) on another fbsd machine. We added the following line in the natd.conf on 192.168.0.200 redirect_port tcp 192.168.0.203:443 xxx.xxx.xxx.172:443 redirect_port tcp 192.168.0.203:22 xxx.xxx.xxx.172:22 We are running ipfw on the 192.168.0.200. We are running httpd on both the machines. After doing portforwarding when we are trying to access the application from outside xxx.xxx.xxx.172 is working fine. But we are not able to access the application on 172 from inside with public ip and we are able to access the application with 192.168.0.203. Also the name does not resolve for the IP xxx.xxx.xxx.172 from the internal network where as the same thing happens from outside. How do we solve this? Please Give the solution as early as possible and plz help us. Regards, Naga Suresh B To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004d01c232d3$352683c0$9600a8c0>