LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 04-10-2009, 05:21 AM   #1
yaw55555
LQ Newbie
 
Registered: Apr 2009
Posts: 3

Rep: Reputation: 0
Question How to protect LVS director server with IPTABLES


Hi all,
I have set up an IPVS loadbalancing for Web traffic that is working perfectly.

But now, I try to run my usual firewall script (IPTABLES commands) on the director server and packets seem to be blocked while being sent to Apache server.

firewall script looks like :

.....
iptables -t filter -A INPUT -p tcp --dport 80 -j ACCEPT
iptables -t filter -A OUTPUT -p tcp --dport 80 -j ACCEPT
iptables -t filter -A FORWARD -p tcp --dport 80 -j ACCEPT
...

I can notice with ipvsadm counters that my http queries are taken into acccount and that director try to send packets to final server ..but nothing arrives on the Apache server.


Maybe IPTABLES and IPVS are not compliant ?
Many thanks for your ideas,
 
  


Reply

Tags
firewall, iptables, ipvs, lvs


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
iptables LVS target support patch is fail sodoojin Linux - Newbie 0 09-19-2008 04:46 AM
LVS(UltraMonkey) Director does not forward requests fentisen Linux - Networking 1 03-27-2006 09:19 AM
LVS is load balancing ok but it does not recognize a server as down if it goes down abefroman Linux - Networking 0 09-04-2005 11:23 PM
problem after LVS server---------------- pal Linux - Networking 0 01-13-2005 04:45 AM
IPTables Rules to protect Windows 2000 cli_man Linux - Networking 1 06-10-2004 04:44 PM


All times are GMT -5. The time now is 10:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration