Make sure pf isn't stopping any packets also. 2017-07-29 1:36 GMT+02:00 Allan Streib <[email protected]>:
> 6.1 amd64 release > > My goal is to serve files from a directory in my home dir via httpd. As > I understand it the way to do this is a local NFS mount in the httpd > chroot. > > Basically following the FAQ for NFS I set up this: > > $ cat /etc/exports > /home/astreib/work/new-site.org -ro -network=127.0.0.1 > > $ showmount -e > Exports list on localhost: > /home/astreib/work/new-site.org 127.0.0.1 > > $ doas mount -t nfs 127.0.0.1:/home/astreib/work/new-site.org > /var/www/htdocs/new-site > mount_nfs: can't access /home/astreib/work/new-site.org: Permission denied > > Everyhing works if I remove the "-network=" from /etc/exports, i.e.: > > /home/astreib/work/new-site.org -ro 127.0.0.1 > > I don't really understand why? > > Allan > > -- May the most significant bit of your life be positive.

