LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   squid acl with NFS & SAMBA (https://www.linuxquestions.org/questions/linux-server-73/squid-acl-with-nfs-and-samba-647977/)

zoltans 06-09-2008 05:24 AM

squid acl with NFS & SAMBA
 
Hi,
googled to death over the last few hours.....

I have an ubuntu 7.10 server called gm0 running squid and a pile of other stuff for the office.

I have installed both SAMBA & NFS on this server.
This server (gm0) can mount other linux boxes & windows boxes (via fstab) on the internal network, however none of the internal network boxes can mount anything shared on gm0.

With NFS I get:
root@gl0:/etc# mount /mnt/gm0_home
mount to NFS server 'gm0' failed: server is down.
mount: backgrounding "gm0:/home"

I have checked /etc/exports and all the other stuff (against all the gl0, gl1 etc boxes (which are Ubuntu 6.06) and they seem fine.

I am now suspecting squid.
I have added tcp port 2049 to the squid.conf acl list

How do I open the UDP 2049 port?

Can anyone suggest anything else for me to try?

TIA,
Zoltan

p_s_shah 06-11-2008 06:04 AM

Please check for iptables rules, not for SQUID acls.
As per my understanding, you may have blocked port for NFS while configuring iptables rules for SQUID. Still not sure, take out one machine from squid config and test NFS.

I haven't worked with Ubuntu, so not sure if there is any feature like SElinux in Fedora. If there is, make sure those features are disable.

I hope you have already checked for various NFS problems and troubleshoot using rpcinfo and other daemon related issues on gm0.

Please revert back with your findings.

zoltans 06-11-2008 10:46 AM

Problem is solved.
 
Yes - you are quite right.

The problem was the firewall ports were not open, so I was banging my head on the wrong wall.

For me, as a firehol user, I just had to add the following to /etc/firehol/firehol.conf:

(within the interface eth0 INSIDE src "192.168.0.0/24"
section)
server portmap accept
server nfs accept
Note portmap MUST also be opened.


Thanks again for responding.

Regards
Zoltan.
[query closed]


All times are GMT -5. The time now is 08:37 AM.