posto sam hteo da postavim sebi dns server, ja sam odlucio staviti tinydns. I posto koristim i dnscache konfigurisao sam na drugu karticu eth1 192.168.1.1 jos drugu adresu eth1:1 192.168.1.2 za istu karticu. Otvorio sam na iptables port 53 udp i tcp protokol.
Problem je u tome, da kada radim nmap eth1 192.168.1.1, lepo se vidi da mi je 53 otvoren.
Code:
Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
Interesting ports on (192.168.1.1):
(The 1595 ports scanned but not shown below are in state: closed)
Port State Service
53/tcp open domain
111/tcp open sunrpc
139/tcp open netbios-ssn
443/tcp open https
2111/tcp open kx
3306/tcp open mysql
Nmap run completed -- 1 IP address (1 host up) scanned in 3 seconds
Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
Interesting ports on (192.168.1.1):
(The 1595 ports scanned but not shown below are in state: closed)
Port State Service
53/tcp open domain
111/tcp open sunrpc
139/tcp open netbios-ssn
443/tcp open https
2111/tcp open kx
3306/tcp open mysql
Nmap run completed -- 1 IP address (1 host up) scanned in 3 seconds
A kada napravim nmap eth1:1 192.168.1.2 (isti interface ko onaj gornji), port 53 nije otvoren i nemam pojma zasto?
Code:
Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
Interesting ports on (192.168.1.2):
(The 1597 ports scanned but not shown below are in state: closed)
Port State Service
111/tcp open sunrpc
443/tcp open https
2111/tcp open kx
3306/tcp open mysql
Nmap run completed -- 1 IP address (1 host up) scanned in 3 seconds
Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
Interesting ports on (192.168.1.2):
(The 1597 ports scanned but not shown below are in state: closed)
Port State Service
111/tcp open sunrpc
443/tcp open https
2111/tcp open kx
3306/tcp open mysql
Nmap run completed -- 1 IP address (1 host up) scanned in 3 seconds
Ako neko zna neka pomogne ....
I tako dalje sve do smaka sveta ...