lco wrote:
>
> Hi,
>
> I have a iptables firewall setup with 2 nics and an internal network ...
>
> internet---lvs-firewall
> |
> | -real-server1
> switch------
> | -real-server2
> |
> |
> workstation
Your diagram didn't survive the mailer.
> I've added the appropriate rules to open port 80 for the webserver
there is no webserver in your diagram.
so that
> everyone on the internet can access the website http://x.x.x.10 . But when
> I'm requesting the website from the workstation(which is inside the firewall
> on the same lan as the www-server) with the same ipaddress http://x.x.x.10
> it cannot find the server unless I use the internal ip address like
> http://192.168.2.10 . How can I fix this problem so that the internal users
> can access the website properly?
define "properly"
look at
http://www.linuxvirtualserver.org/Joseph.Mack/HOWTO/LVS-HOWTO-4.html#ss4.2
Joe
--
Joseph Mack PhD, Senior Systems Engineer, Lockheed Martin
contractor to the National Environmental Supercomputer Center,
mailto:mack.joseph@xxxxxxx ph# 919-541-0007, RTP, NC, USA
|