Results 1 to 1 of 1
HI
after few days of hard work about redhat cluster and piranah, i have done 90% hopefully, but i am stuck with iptables rules
i am attaching full piranah server ...
- 10-02-2009 #1Just Joined!
- Join Date
- Apr 2007
- Posts
- 14
Piranha with 2 node cluster
HI
after few days of hard work about redhat cluster and piranah, i have done 90% hopefully, but i am stuck with iptables rules
i am attaching full piranah server screen shot of my network .
please have a look and please tel me, what else to do in piranah server ...
a) from firewall (Lynksys) what ip shall i forward port 80 ?? ( 192.168.1.66 or 192.168.1.50 ??)
b) Currently its looks like http request is not forwarding from Virtual server to real server , what iptables rules shall i write ??
(Please have a look to iptables rules)
also, this link for my piranah server setup( please have a look all those picture for my server stup).
websolution4u dot co dot uk /piranah/
i guess i am stuck somewhere where i need some experts eye to catch it up
so please look at the all the pictures , ifconfig and iptables rules
see if you can give me any idea ...
thanks for your patience and answer
ifconfig :
ifconfig
eth0 Link encap:Ethernet HWaddr 00:0F:3D:CB:0A:8C
inet addr:192.168.1.66 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20f:3dff:fecb:a8c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:46829 errors:0 dropped:0 overruns:0 frame:0
TX packets:12820 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9056036 (8.6 MiB) TX bytes:1551434 (1.4 MiB)
Interrupt:9 Base address:0x2400
eth0:1 Link encap:Ethernet HWaddr 00:0F:3D:CB:0A:8C
inet addr:192.168.1.50 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:9 Base address:0x2400
eth1 Link encap:Ethernet HWaddr 00:48:540:96:87
inet addr:193.132.234.1 Bcast:193.132.234.255 Mask:255.255.255.0
inet6 addr: fe80::248:54ff:fed0:9687/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8358 errors:0 dropped:0 overruns:0 frame:0
TX packets:7414 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1030463 (1006.3 KiB) TX bytes:1591025 (1.5 MiB)
Interrupt:10 Base address:0x8000
eth1:1 Link encap:Ethernet HWaddr 00:48:540:96:87
inet addr:193.132.234.10 Bcast:193.132.234.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:10 Base address:0x8000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:87555 errors:0 dropped:0 overruns:0 frame:0
TX packets:87555 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:14640674 (13.9 MiB) TX bytes:14640674 (13.9 MiB)
-----------------------------
Iptables :
# Generated by iptables-save v1.3.5 on Fri Oct 2 07:22:58 2009
*nat
:PREROUTING ACCEPT [23:4645]
:POSTROUTING ACCEPT [19:1348]
:OUTPUT ACCEPT [19:1348]
-A POSTROUTING -o eth0 -j MASQUERADE
COMMIT
# Completed on Fri Oct 2 07:22:58 2009
# Generated by iptables-save v1.3.5 on Fri Oct 2 07:22:58 2009
*filter
:INPUT ACCEPT [27:5961]
:FORWARD ACCEPT [3:144]
:OUTPUT ACCEPT [20:1400]
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A OUTPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
COMMIT
# Completed on Fri Oct 2 07:22:58 2009
~
~ ----------------------------------------
service iptables status
Table: filter
Chain INPUT (policy ACCEPT)
num target prot opt source destination
1 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
Chain FORWARD (policy ACCEPT)
num target prot opt source destination
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
1 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
Table: nat
Chain PREROUTING (policy ACCEPT)
num target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
num target prot opt source destination
1 MASQUERADE all -- 0.0.0.0/0 0.0.0.0/0
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination


Reply With Quote