web server with 3 nicss
Hello Friends !
This is my 1st post with stange question/problem .
I have setup a ubuntu 10.04 with up2date package ,i have tryed nginx and apache2 web server .Ubuntu is on a DMZ network
I have utm box which is gateway to internet where i have configure dnat for web server ,ssh and ftp server on which this ubuntu is installed has 3 nic (planning to use same machine for virtualzation later)
i am not able to access web server ,ssh,ftp server from internal lan or from out site on ubuntu .
BUT .... on same machine with default oracle linux setup i am able to access all 3 services without makeing any hardware change in entire network ,i have to just change hardisk (change harddisk from ubuntu to centos --there are 2 hardisk on system )
when oracle linxu work then i installed centos (as oracle linux doesnt support some funcation which i want to test) on oracle linux harddisk and noting has change
my utm box provide ip address to all 3 nic with static ip binding
when i run nc -z mypublicip port (80,-5123(ssh) ftp 21) it did give sucess result with ftp only
i have disable iptable ,selinux (on centos) and on ubuntu i have uninstall ufw and check iptables for connection
when i run web server or ssh from other system i can see some packets are comming to ubuntu/centos
tcpdump -nvi eth2 port 80
tcpdump: listening on eth2, link-type EN10MB (Ethernet), capture size 65535 bytes
19:03:44.043981 IP (tos 0x0, ttl 64, id 63401, offset 0, flags [DF], proto TCP (6), length 60)
192.168.3.125.55832 > mypublicip .http: Flags [S], cksum 0xfc3c (correct), seq 1138034439, win 14600, options [mss 1460,sackOK,TS val 23392430 ecr 0,nop,wscale 7], length 0
19:03:44.045954 IP (tos 0x0, ttl 63, id 63401, offset 0, flags [DF], proto TCP (6), length 60)
192.168.3.125.55832 > 192.168.3.125.http: Flags [S], cksum 0x6f55 (correct), seq 1138034439, win 14600, options [mss 1460,sackOK,TS val 23392430 ecr 0,nop,wscale 7], length 0
19:03:47.043349 IP (tos 0x0, ttl 64, id 63402, offset 0, flags [DF], proto TCP (6), length 60)
192.168.3.125.55832 > mypublicip.http: Flags [S], cksum 0xf084 (correct), seq 1138034439, win 14600, options [mss 1460,sackOK,TS val 23395430 ecr 0,nop,wscale 7], length 0
19:03:47.044988 IP (tos 0x0, ttl 63, id 63402, offset 0, flags [DF], proto TCP (6), length 60)
192.168.3.125.55832 > 192.168.3.125.http: Flags [S], cksum 0x639d (correct), seq 1138034439, win 14600, options [mss 1460,sackOK,TS val 23395430 ecr 0,nop,wscale 7], length 0
19:03:53.043344 IP (tos 0x0, ttl 64, id 63403, offset 0, flags [DF], proto TCP (6), length 60)
192.168.3.125.55832 > mypublicip---.http: Flags [S], cksum 0xd914 (correct), seq 1138034439, win 14600, options [mss 1460,sackOK,TS val 23401430 ecr 0,nop,wscale 7], length 0
19:03:53.044951 IP (tos 0x0, ttl 63, id 63403, offset 0, flags [DF], proto TCP (6), length 60)
192.168.3.125.55832 > 192.168.3.125.http: Flags [S], cksum 0x4c2d (correct), seq 1138034439, win 14600, options [mss 1460,sackOK,TS val 23401430 ecr 0,nop,wscale 7], length 0
thanks