Thanks for the replies. I wondered whether the firewall might be the problem.
Ok out put of
iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ppp_in all -- anywhere anywhere
eth0_in all -- anywhere anywhere
common all -- anywhere anywhere
LOG all -- anywhere anywhere LOG level info prefix `Shorewall:INPUT:REJECT:
'
reject all -- anywhere anywhere
Chain FORWARD (policy DROP)
target prot opt source destination
ppp_fwd all -- anywhere anywhere
eth0_fwd all -- anywhere anywhere
common all -- anywhere anywhere
LOG all -- anywhere anywhere LOG level info prefix `Shorewall:FORWARD:REJEC
T:'
reject all -- anywhere anywhere
Chain OUTPUT (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere
fw2net all -- anywhere anywhere
fw2masq all -- anywhere anywhere
common all -- anywhere anywhere
LOG all -- anywhere anywhere LOG level info prefix `Shorewall:OUTPUT:REJECT
:'
reject all -- anywhere anywhere
Chain all2all (2 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
newnotsyn tcp -- anywhere anywhere state NEW tcp flags:!SYN,RST,ACK/SYN
common all -- anywhere anywhere
LOG all -- anywhere anywhere LOG level info prefix `Shorewall:all2all:REJEC
T:'
reject all -- anywhere anywhere
Chain common (5 references)
target prot opt source destination
icmpdef icmp -- anywhere anywhere
DROP tcp -- anywhere anywhere state INVALID
REJECT udp -- anywhere anywhere udp dpts:netbios-ns:netbios-ssn reject-with ic
mp-port-unreachable
REJECT udp -- anywhere anywhere udp dpt:microsoft-ds reject-with icmp-port-unr
eachable
reject tcp -- anywhere anywhere tcp dpt:135
DROP udp -- anywhere anywhere udp dpt:1900
DROP all -- anywhere 255.255.255.255
DROP all -- anywhere BASE-ADDRESS.MCAST.NET/4
reject tcp -- anywhere anywhere tcp dpt:auth
DROP all -- anywhere 192.168.1.255
Chain dynamic (4 references)
target prot opt source destination
Chain eth0_fwd (1 references)
target prot opt source destination
dynamic all -- anywhere anywhere
masq2net all -- anywhere anywhere
Chain eth0_in (1 references)
target prot opt source destination
dynamic all -- anywhere anywhere
masq2fw all -- anywhere anywhere
Chain fw2masq (1 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
newnotsyn tcp -- anywhere anywhere state NEW tcp flags:!SYN,RST,ACK/SYN
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ipp
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt
rinter
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:netbios-ns
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:netbios-dgm
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:netbios-ssn
ACCEPT udp -- anywhere anywhere state NEW udp dpt:ipp
ACCEPT udp -- anywhere anywhere state NEW udp dpt
rinter
ACCEPT udp -- anywhere anywhere state NEW udp dpt:netbios-ns
ACCEPT udp -- anywhere anywhere state NEW udp dpt:netbios-dgm
ACCEPT udp -- anywhere anywhere state NEW udp dpt:netbios-ssn
all2all all -- anywhere anywhere
Chain fw2net (1 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
newnotsyn tcp -- anywhere anywhere state NEW tcp flags:!SYN,RST,ACK/SYN
ACCEPT all -- anywhere anywhere
Chain icmpdef (1 references)
target prot opt source destination
Chain loc2net (0 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
newnotsyn tcp -- anywhere anywhere state NEW tcp flags:!SYN,RST,ACK/SYN
ACCEPT all -- anywhere anywhere
Chain masq2fw (1 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
newnotsyn tcp -- anywhere anywhere state NEW tcp flags:!SYN,RST,ACK/SYN
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:domain
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:bootps
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:http
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:https
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ipp
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:imap
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt
op3
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:smtp
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:nntp
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ntp
ACCEPT udp -- anywhere anywhere state NEW udp dpt:domain
ACCEPT udp -- anywhere anywhere state NEW udp dpt:bootps
ACCEPT udp -- anywhere anywhere state NEW udp dpt:http
ACCEPT udp -- anywhere anywhere state NEW udp dpt:https
ACCEPT udp -- anywhere anywhere state NEW udp dpt:ipp
ACCEPT udp -- anywhere anywhere state NEW udp dpt:imap
ACCEPT udp -- anywhere anywhere state NEW udp dpt
op3
ACCEPT udp -- anywhere anywhere state NEW udp dpt:smtp
ACCEPT udp -- anywhere anywhere state NEW udp dpt:nntp
ACCEPT udp -- anywhere anywhere state NEW udp dpt:ntp
all2all all -- anywhere anywhere
Chain masq2net (1 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
newnotsyn tcp -- anywhere anywhere state NEW tcp flags:!SYN,RST,ACK/SYN
ACCEPT all -- anywhere anywhere
Chain net2all (3 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
newnotsyn tcp -- anywhere anywhere state NEW tcp flags:!SYN,RST,ACK/SYN
common all -- anywhere anywhere
LOG all -- anywhere anywhere LOG level info prefix `Shorewall:net2all
ROP:
'
DROP all -- anywhere anywhere
Chain newnotsyn (7 references)
target prot opt source destination
DROP all -- anywhere anywhere
Chain ppp_fwd (1 references)
target prot opt source destination
dynamic all -- anywhere anywhere
net2all all -- anywhere anywhere
net2all all -- anywhere anywhere
Chain ppp_in (1 references)
target prot opt source destination
dynamic all -- anywhere anywhere
net2all all -- anywhere anywhere
Chain reject (6 references)
target prot opt source destination
REJECT tcp -- anywhere anywhere reject-with tcp-reset
REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
Chain shorewall (0 references)
target prot opt source destination
---
Output from
netstat -tupan
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:32768 0.0.0.0:* LISTEN 1060/
tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:32769 0.0.0.0:* LISTEN 2085/xinetd
tcp 0 0 0.0.0.0:32770 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:32771 0.0.0.0:* LISTEN 2275/rpc.mountd
tcp 0 0 0.0.0.0:901 0.0.0.0:* LISTEN 2085/xinetd
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 4688/smbd
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 989/
tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN 2568/perl
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN 2034/
tcp 0 0 195.137.47.15:53 0.0.0.0:* LISTEN 2035/
tcp 0 0 192.168.1.1:53 0.0.0.0:* LISTEN 2035/
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 2035/
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2061/sshd
tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN 2120/cupsd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2487/
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 2035/
udp 0 0 0.0.0.0:32768 0.0.0.0:* 1060/
udp 0 0 0.0.0.0:513 0.0.0.0:* 2301/rwhod
udp 0 0 0.0.0.0:2049 0.0.0.0:* -
udp 0 0 0.0.0.0:32769 0.0.0.0:* 2035/
udp 0 0 0.0.0.0:32770 0.0.0.0:* -
udp 0 0 0.0.0.0:32771 0.0.0.0:* 2275/rpc.mountd
udp 0 0 192.168.1.1:137 0.0.0.0:* 4698/nmbd
udp 0 0 0.0.0.0:137 0.0.0.0:* 4698/nmbd
udp 0 0 192.168.1.1:138 0.0.0.0:* 4698/nmbd
udp 0 0 0.0.0.0:138 0.0.0.0:* 4698/nmbd
udp 0 0 0.0.0.0:10000 0.0.0.0:* 2568/perl
udp 0 0 195.137.47.15:53 0.0.0.0:* 2035/
udp 0 0 192.168.1.1:53 0.0.0.0:* 2035/
udp 0 0 127.0.0.1:53 0.0.0.0:* 2035/
udp 0 0 0.0.0.0:111 0.0.0.0:* 989/
udp 0 0 0.0.0.0:631 0.0.0.0:* 2120/cupsd
----
and my
smb.conf file
# Global parameters
[global]
log file = /var/log/samba/log.%m
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
map to guest = Bad User
encrypt passwords = Yes
printer admin = @adm
wins support = true
dns proxy = No
netbios name = SERVER
server string = Samba Server %v
printing = cups
default = homes
path = /share
workgroup = WORKGROUP
os level = 20
comment = test share
printcap name = cups
max log size = 50
max connections = 3
[homes]
create mask = 0664
comment = Home Directories
writeable = yes
valid users = %S
path = /home
[/mnt/cdrom]
path = /mnt/cdrom
guest ok = Yes
--------------
I've been banging my head against this for weeks and I have read so many guides. thanks again