All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Tóth Nándor" <nug@sch.bme.hu>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Load Balancer setting for Public Servers
Date: Wed, 16 Feb 2005 12:28:46 +0000	[thread overview]
Message-ID: <42133C7E.2080902@sch.bme.hu> (raw)
In-Reply-To: <FHEJLKKJFOAHALHJLCJEMEKECDAA.sureerat.pha@eqho.com>

Hi!

Sureerat P. (EQHO) wrote:
> Hello,
>  
> I have finished setting up the load balancer with IPROUTE ... also patch 
> the kernel to support DGD and now it's working fine with the valuable 
> guide at LARTC website, Julian Anastasov, and the kind people in this 
> mailing list. Now I would like to launch a web server and a ftp server 
> to the public but I'm stuck into a problem and really need your help.

I had a very similar setup, and everything worked.

> Currently internal users can access internet and loadbalancing feature 
> is working well, but users in external network can't access my servers. 
> Please someone help investigate my config and suggest me what is wrong 
> or missing. Thank you very much.

I suggest you to run tcpdump on the firewalls interfaces to track the 
packets. This way you can nail the problem.

> iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -j MASQUERADE

I think the problem may be here.
You should use SNAT like me:
$IPTABLES -t nat -A POSTROUTING -o $EXTERNAL_INTERFACE  -j SNAT 
--to-source $EXTERNAL_IP_ADDR
$IPTABLES -t nat -A POSTROUTING -o $EXTERNAL_INTERFACE2  -j SNAT 
--to-source $EXTERNAL_IP_ADDR2


-- 
Udv,
   Nandor
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  parent reply	other threads:[~2005-02-16 12:28 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-16  3:34 [LARTC] Load Balancer setting for Public Servers Sureerat P. (EQHO)
2005-02-16 10:28 ` Nguyen Dinh Nam
2005-02-16 11:16 ` Sureerat P. (EQHO)
2005-02-16 12:28 ` Tóth Nándor [this message]
2005-02-16 15:44 ` Nguyen Dinh Nam
2005-02-17  0:17 ` Julian Anastasov
2005-02-17  7:28 ` Sureerat P. (EQHO)
2005-02-17 10:29 ` Nguyen Dinh Nam
2005-02-17 11:44 ` Julian Anastasov
2005-02-17 13:14 ` Sureerat P. (EQHO)
2005-02-18  7:14 ` Julian Anastasov
2005-02-18  7:47 ` Sureerat P. (EQHO)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42133C7E.2080902@sch.bme.hu \
    --to=nug@sch.bme.hu \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.