Networking Forums

Networking Forums > Computer Networking > Linux Networking > Load balanced packet forwarding

Reply
Thread Tools Display Modes

Load balanced packet forwarding

 
 
Ydragon
Guest
Posts: n/a

 
      07-07-2004, 07:30 PM
Hello all,

I have a firewall/dhcp redhat linux machine gaurding a large internal
network. It sits in front of a webserver and many terminals. I need to
access a Web application on a seperate external network and allow that
application to send packets back and forth. I need to do this from all the
desktops inside the internal network, via desktop icons that launch a
browser window. I used iptables to set up a dnat route to the IP of the
external server on port 80 and was then able to connect to the Web app just
fine. However whenever it tries to send packets back they get lost. The
external server in question load balances with three IP's. I set up some
iptables FORWARD routes for each of the three IP's to allow port 80 and each
of the other ports to forward. It did not work. My questions are these:

Is FORWARD the right chain to allow data back in or should it be in the nat
chain?
Do I need to somehow masquerade the three IP's back to the one it thinks it
connected on?

Is this kind of FORWARD correct?

7 ACCEPT tcp -- ##.#.##.### 0.0.0.0/0 tcp dpt:80

can I say anything from the (obscured) IP goes to anywhere on port 80? Does
my destination need to be the DHCP lease of the internal terminal calling
the app?

I appreciate your help

Be well,

JZ
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
2003 Load Balanced Servers lose all network connectivity Jason Carter Windows Networking 0 07-09-2008 01:56 PM
Load balanced web server =?Utf-8?B?QWxhbl9T?= Windows Networking 2 02-28-2005 04:55 PM
Load balanced HTTPS servers ... single or multiple server certificates? noone Linux Networking 3 01-27-2005 10:01 PM
Packet forwarding Manu J Linux Networking 5 09-14-2003 10:45 AM
packet forwarding luke Linux Networking 1 09-03-2003 06:11 PM



1 2 3 4 5 6 7 8 9 10 11