I have being tring many commands to open this port for Samba:
iptables -A INPUT ip tcp --sport 137 -j ACCEPT
and
-A INPUT -p tcp -m tcp --dport 137:139 --syn -j ACCEPT
-A INPUT -p udp -m udp --dport 137:139 -j ACCEPT
This is how things look now:
root@XubuntuLab:/etc# netstat -plant
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 4706/smbd
tcp 0 0 127.0.0.1:4236 0.0.0.0:* LISTEN 4185/hpiod
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 4964/cupsd
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 4706/smbd
tcp 0 0 127.0.0.1:4383 0.0.0.0:* LISTEN 4188/python
tcp 0 0 127.0.0.1:4236 127.0.0.1:1920 ESTABLISHED4185/hpiod
tcp 0 0 10.0.3.238:1424 10.0.1.25:9090 ESTABLISHED5227/firefox-bin
tcp 0 0 10.0.3.238:1421 10.0.1.25:9090 ESTABLISHED5227/firefox-bin
tcp 0 1 10.0.3.238:3814 66.98.242.116:80 SYN_SENT 4303/freshclam
tcp 0 0 127.0.0.1:1920 127.0.0.1:4236 ESTABLISHED4188/python
tcp6 0 0 :::22 :::* LISTEN 4724/sshd
According to Firestarter ports 139 137 445 are open, but I don't see port 137 open here and I cannot get Samba to work, I follow all the steps from
http://samba.netfirms.com/. Here is more info when I use nmap:
PORT STATE SERVICE
22/tcp open ssh
139/tcp open netbios-ssn
445/tcp open microsoft-ds
I have spent a lot of time in this and I think I'm able to do it. Any help will be appreciated.
Thanks...