LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

masq problem

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: masq problem
From: "Andy Elacion, Jr." <atelacion@xxxxxxxxxxxxx>
Date: Fri, 14 Feb 2003 19:39:08 +0800
I set-up my lvs using Red Hat linux 7.3 with the following rpms.
ipvsadm-1.21-4.i386.rpm
scsi_reserve-0.7-6.i386.rpm
scsi_reserve-devel-0.7-6.i386.rpm

I have the following ipchains config.
:input ACCEPT
:forward ACCEPT
:output ACCEPT
-A input -s 0/0 -d 0/0 -i lo -j ACCEPT
-A input -s 0/0 -d 0/0 80 -p tcp -y -j ACCEPT --log
-A input -p tcp -s 0/0 -d 0/0 0:1023 -y -j REJECT
-A input -p tcp -s 0/0 -d 0/0 2049 -y -j REJECT
-A input -p udp -s 0/0 -d 0/0 0:1023 -j REJECT
-A input -p udp -s 0/0 -d 0/0 2049 -j REJECT
-A input -p tcp -s 0/0 -d 0/0 6000:6009 -y -j REJECT
-A input -p tcp -s 0/0 -d 0/0 7100 -y -j REJECT
-A forward -j MASQ -s 10.10.0.0/24 -d 0/0

I also configure lvs with the following
/sbin/ipvsadm -C
/sbin/ipvsadm -A -t 192.168.0.10:80 -s wlc
/sbin/ipvsadm -a -t 192.168.0.10:80 -R 10.10.0.12:80 -m -w 1

And ipvsadm -L result is this.
IP Virtual Server version 1.0.4 (size=65536)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  192.168.0.10:http wlc
  -> 10.10.0.12:http              Masq    1      0          0

Now when I try to connect to my lvs with my browser I get the following
error:
There was no response or server is not responding

When I check the ipchains log, I got the following.
Feb 14 19:45:48 lvs-1 kernel: Packet log: input ACCEPT eth1 PROTO=6
192.168.0.58:4441 192.168.0.10:80 L=48 S=0x00 I=45423 F=0x4000 T=128 SYN
(#3)
Feb 14 19:45:51 lvs-1 kernel: Packet log: input ACCEPT eth1 PROTO=6
192.168.0.58:4441 192.168.0.10:80 L=48 S=0x00 I=45426 F=0x4000 T=128 SYN
(#3)


Where did I go wrong?

Thanks,
Andy



<Prev in Thread] Current Thread [Next in Thread>