Re: [gentoo-user] NFS & static ports - driving me crazy...

2014-01-02 Thread Tanstaafl
On 2014-01-02 7:48 AM, Tanstaafl wrote: On 2014-01-02 7:38 AM, William Kenworthy wrote: Try this: # /etc/conf.d/nfs Thanks Bill, I will... But what do I need to restart to test the changes? I'd rather not have to reboot every time... Is it just rpcbind? Or do I need to restart nfs/nfsmmou

Re: [gentoo-user] NFS & static ports - driving me crazy...

2014-01-02 Thread Tanstaafl
On 2014-01-02 7:38 AM, William Kenworthy wrote: Try this: # /etc/conf.d/nfs Thanks Bill, I will... But what do I need to restart to test the changes? I'd rather not have to reboot every time... Is it just rpcbind? Or do I need to restart nfs/nfsmmount too? Others? Thanks... hope I can ge

Re: [gentoo-user] NFS & static ports - driving me crazy...

2014-01-02 Thread William Kenworthy
Try this: # /etc/conf.d/nfs # If you wish to set the port numbers for lockd, # please see /etc/sysctl.conf # Optional services to include in default `/etc/init.d/nfs start` # For NFSv4 users, you'll want to add "rpc.idmapd" here. NFS_NEEDED_SERVICES="rpc.idmapd" # Number of servers to be starte

Re: [gentoo-user] NFS & static ports - driving me crazy...

2014-01-02 Thread Tanstaafl
No one? Another reboot, and had to open up OUTGOING port 57212 this time. Why are the static ports I'm assigning not being used? On 2013-12-31 8:11 AM, Tanstaafl wrote: On 2013-12-31 7:30 AM, Tanstaafl wrote: I've made the following changes to the following config files: /etc/conf.d/nfs O

Re: [gentoo-user] NFS & static ports - driving me crazy...

2013-12-31 Thread Tanstaafl
On 2013-12-31 7:30 AM, Tanstaafl wrote: I've made the following changes to the following config files: /etc/conf.d/nfs OPTS_RPC_MOUNTD="-p 32767" OPTS_RPC_STATD="-p 32765 -o 32766" I've also changed the lockd ports /etc/sysctl.conf # You should compile nfsd into the kernel or add it # to mo

Re: [gentoo-user] NFS & static ports - driving me crazy...

2013-12-31 Thread Tanstaafl
On 2013-12-30 3:25 PM, Tanstaafl wrote: This is for NFS CLIENT... I'm mounting NFS shares from my remote QNAP NAS boxes. I've tried specifying the ports in /etc/conf.d/nfs, and /etc sysctl.conf, but I must be missing something, because every time I reboot, some other port comes up being blocke

Re: [gentoo-user] NFS & static ports - driving me crazy...

2013-12-31 Thread Tanstaafl
On 2013-12-30 6:21 PM, Pavel Volkov wrote: I've tried specifying the ports in /etc/conf.d/nfs, and /etc >sysctl.conf, but I must be missing something, because every time I >reboot, some other port comes up being blocked when I try to mount the >shares... > >Anyone? The references I've found are

Re: [gentoo-user] NFS & static ports - driving me crazy...

2013-12-30 Thread Pavel Volkov
On Monday 30 December 2013 15:25:02 Tanstaafl wrote: > Ok, my google-fu has failed me... > > I've found a few sites that describe how to set static ports for NFS > mounting remote shares (I use iptables for both inbound AND outbound, > and it is the outbound I'm having trouble with). > > This is

Re: [gentoo-user] NFS & static ports - driving me crazy...

2013-12-30 Thread Bruce Hill
On Mon, Dec 30, 2013 at 10:04:29PM +0100, Joerg Schilling wrote: > Bruce Hill wrote: > > > > It just so happens that I'm setting up NFS atm using this guide: > > https://wiki.gentoo.org/wiki/NFSv4 > > This info unfortunately misses the port number: 2049 What do you mean by "misses the port numbe

Re: [gentoo-user] NFS & static ports - driving me crazy...

2013-12-30 Thread Joerg Schilling
Bruce Hill wrote: > > Why don't you just use NFSv4? > > NFSv4 was designed to interact well with firewalls. > > > > Jörg > > It just so happens that I'm setting up NFS atm using this guide: > https://wiki.gentoo.org/wiki/NFSv4 This info unfortunately misses the port number: 2049 Jörg -- EMa

Re: [gentoo-user] NFS & static ports - driving me crazy...

2013-12-30 Thread Tanstaafl
On 2013-12-30 3:27 PM, Joerg Schilling wrote: Tanstaafl wrote: Ok, my google-fu has failed me... I've found a few sites that describe how to set static ports for NFS mounting remote shares (I use iptables for both inbound AND outbound, and it is the outbound I'm having trouble with). Why d

Re: [gentoo-user] NFS & static ports - driving me crazy...

2013-12-30 Thread Bruce Hill
On Mon, Dec 30, 2013 at 09:27:19PM +0100, Joerg Schilling wrote: > Tanstaafl wrote: > > > Ok, my google-fu has failed me... > > > > I've found a few sites that describe how to set static ports for NFS > > mounting remote shares (I use iptables for both inbound AND outbound, > > and it is the ou

Re: [gentoo-user] NFS & static ports - driving me crazy...

2013-12-30 Thread Joerg Schilling
Tanstaafl wrote: > Ok, my google-fu has failed me... > > I've found a few sites that describe how to set static ports for NFS > mounting remote shares (I use iptables for both inbound AND outbound, > and it is the outbound I'm having trouble with). Why don't you just use NFSv4? NFSv4 was desig

[gentoo-user] NFS & static ports - driving me crazy...

2013-12-30 Thread Tanstaafl
Ok, my google-fu has failed me... I've found a few sites that describe how to set static ports for NFS mounting remote shares (I use iptables for both inbound AND outbound, and it is the outbound I'm having trouble with). This is for NFS CLIENT... I'm mounting NFS shares from my remote QNAP