1748270 Members
3903 Online
108760 Solutions
New Discussion юеВ

Re: IPCHAINS

 
Tony Romero
Advisor

IPCHAINS

Fellow admins,

I've setup an ipchains firewall with one IP address and I also have a separate webserver hosting the registered domainname and different IP address. The firewall has the ip that my ISP has for the registered domainname, however when users get to the site they cannot get to the webserver but rather get the default page on the fw server. Does anyone know how do I forward the request from the firewall to the webserver, so that the request is answered by the webserver and not the firewall?
Freedom!!!
2 REPLIES 2
Stuart Browne
Honored Contributor

Re: IPCHAINS

As you are using 'ipchains', you'll need to hunt down a tool called 'ipmasqadm' (usually found in a 'ipportfw' rpm).

This provides you a tool to do what you are asking.
One long-haired git at your service...
Mark Fenton
Esteemed Contributor

Re: IPCHAINS

Or switch to iptables which includes the functionality out of the box. You might also want to shutdown the web server on the firewall box (which is displaying the test page), as you probably don't need that service running since you already have a web server.

Good luck.
Mark