Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, how do I configure my server firewall so that I can mount it as an NFS in another computer. Everything is working fine except that when my firewall is ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2004
    Posts
    9

    NFS cannot get thru firewall


    Hi,

    how do I configure my server firewall so that I can mount it as an NFS in another computer.

    Everything is working fine except that when my firewall is up, I can't mount the nfs.

    Help help help !!!

  2. #2
    Linux Newbie
    Join Date
    Apr 2004
    Posts
    158
    Hmmm,

    It would help to see you firewall config...

    //jonas

  3. #3
    Linux Enthusiast
    Join Date
    Jun 2002
    Location
    San Antonio
    Posts
    621
    Since NFS uses portmap, it is rather difficult to setup a firewall to allow it. Portmap uses random ports, and needs to have a huge hole punched in the firewall.

    Google for 'portmap ports' and see if your distribution has an elegant way to restrict which ports it uses. All distros do, I just can't remember any tips offhand. Then you will simply have to knock a hole in your firewall between like 1024 and 2048 or something like that, so that only 1024 portmapping ports are allowed.

    Best,

    Samuel
    I respectfully decline the invitation to join your delusion.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •