"Dima Chirgadze" <[EMAIL PROTECTED]> writes:

> I am still new to the firewalling area... I have managed to set up
> cookefire RC1 on my p90 box. I would highly appreciate if somebody
> could help me out with two issues:
> 
> 1. I have a machine outside the cookefire firewall protected LAN - SGI
> Irix 5.something - which provides samba shares. How can I mount those
> shares onto my LAN machines? Are there any easy way of doing that?

Hi there,

the way of doing this is easy. 

Go to the Systme Properties->Alert and activate the Logging of all
rejected packets, do what you want to do and then check the
Monitoring->Logs->Filtered packets, at the bottom of the list, to see what
went wrong.


First of all, you should allow the netbios traffic. So, go to the Restrict
Access->Internet Traffic->Custom Services (Port 137, UDP
protocol)->Next->Apply

now, with a linux client is pretty easy to access the sharings. You can
either use: 

a) commands ;)

make sure you have installed the samba-client

- check the shares on a samba server with an IP 192.168.1.2

(florin@mypc)[~]-% smbclient -N -L 192.168.1.2
added interface ip=192.168.2.4 bcast=192.168.2.255 nmask=255.255.255.0
Anonymous login successful
Domain=[test] OS=[Unix] Server=[Samba 2.2.0]

        Sharename      Type      Comment
        ---------      ----      -------
        share       Disk      Network Logon Service
        tmp            Disk      Temporary file space
        IPC$           IPC       IPC Service (Samba Server 2.2.0)
        ADMIN$         Disk      IPC Service (Samba Server 2.2.0)

        Server               Comment
        ---------            -------
        sambaserver          Samba Server 2.2.0

        Workgroup            Master
        ---------            -------
        test                  sambaserver

- let's see what's in the tmp share
become root
[root@mypc /mnt]# smbclient //sambaserver/tmp a -U a 
added interface ip=192.168.2.4 bcast=192.168.2.255 nmask=255.255.255.0
Domain=[test] OS=[Unix] Server=[Samba 2.2.0]
smb: \>

type ls ans check out the contents :)
smb: \>ls 
rpmdrake-1.3-52.1mdk.i586.rpm           326497  Thu May 10 00:04:23 2001

type exit to go out

- let's mount it on the local linux box

[root@mypc /mnt]# mkdir /mnt/samba
[root@mypc /mnt]# mount.smbfs //192.168.1.2/tmp /mnt/samba/ -o username=yourusername 
password=yourpassword      
[root@mypc /mnt]# ll /mnt/samba/
-rwxr-xr-x    1 root     root       326497 May 10 00:04 rpmdrake-1.3-52.1mdk.i586.rpm*


it sort of works.

b) use whatever graphical client you want: konqueror for example and type
in the url line: smb://192.168.1.2 instead of http://...

> 2. Same SGI is providing e-mail (pop3, smtp). I can check e-mail but
> can't send e-mails. I guess cookefire is blocking it. How can I enable
> it?
> 

same thing here,

allow the port 25 for smtp services (check the /etc/services file for more
details)

cheers,
-- 
Florin                          http://www.mandrakesoft.com

Reply via email to