Hello expert guys..........
I have fallen in pretty serious problem . I am using kali linux in virttual box and tring to open port 4444 for hacking my other machine through Mataspolit. but when I am scanning my kali port then it is showing as closed then I tried to open it using iptables but still it is not showing open. How to open in it please give me suggestion .....
thanks..
root@kali:~# iptables -I INPUT -p tcp --dport 4444 --syn -j ACCEPT
root@kali:~# iptables -I INPUT -p udp --dport 4444 -j ACCEPT
root@kali:~# service iptables save
iptables: unrecognized service
root@kali:~# iptables save
Bad argument `save'
Try `iptables -h' or 'iptables --help' for more information.
root@kali:~# iptables -L -n
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:4444
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:4444 flags:0x17/0x02
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
root@kali:~# nmap -sV -p4444 10.0.2.15
Starting Nmap 6.49BETA4 (
https://nmap.org ) at 2012-12-16 15:49 EST
Nmap scan report for 10.0.2.15
Host is up (0.00050s latency).
PORT STATE SERVICE VERSION
4444/tcp closed krb524
Service detection performed. Please report any incorrect results at
https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 2.75 seconds
root@kali:~#