HP-UX 11i NFS ports through Firewall

Posted on 2006-04-21
Last Modified: 2013-12-04
Hello all,

We have an HP-UX 11i server running inside of our private area with files on it.  We have a Linux Enterprise Server 3 in our DMZ.  We want to set up a nfs mount between the two.  The linux server will mount a drive from the HP-UX machine.  I would like to know how to lock down the default ports that is used on the HP-UX machine to listen on so that we can open a default set of ports from the DMZ to the private space.  Everything is open from Private to DMZ.  I would like to know commands used and files that need to be created mostly on the HP-UX machine to make this happen.  We have done this with linux to linux and were able to open a set of ports that we specified from dmz to private but we mounted the dmz dirve on the private machine.  

I am not the Unix guy so I will have to relay with our Unix team which will delay my reply back.  They don't know how to do it and asked me because I do network security.

Thank you for the help.
Question by:overflow34
    LVL 51

    Accepted Solution

    your firewall needs to allow TCP and UDP ports 2049 and 32764-32767, depending on your NFS configuration you also need 111 and/or 1110 and/or 4001, your network admins should knwo which ports they use
    LVL 61

    Expert Comment

    And 111/tcp and 111/udp too
    And paying attention that connections can be originated from low ports <1024 too.
    LVL 61

    Assisted Solution

    After allowing port 111 on client run "portmapper -p server_ip-address" and post result. needed orts are numbered here.
    LVL 2

    Author Comment

    Thank you both for the information.  I am looking for the files I can modify to change the default ports to the ports that we want to allow.  As in change the default range to 30000-300010.  After rereading my post I know I did not explain this very well.

    I also went ahead an awarded the points to both of you for all your help.  My company sent me out of town so instead of abandoing the question I decided to close it with the good information that was provided and open another to get the files to change the default port when I get back in town.

    Thank you,
    LVL 61

    Expert Comment

    There is little you can change with default TCP ports.
    inetd does rpc services based on inetd.conf and /etc/rpc , but ports can be fairly random, i.e rpcinfo only shows which port actual service uses, and then NFS mount connects to that.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    In today's information driven age, entrepreneurs have so many great tools and options at their disposal to help turn good ideas into a thriving business. With cloud-based online services, such as Amazon's Web Services (AWS) or Microsoft's Azure, bus…
    This is a guide to the following problem (not exclusive but here) on Windows: Users need our support and we supporters often use global administrative accounts to do this. Using these accounts safely is a real challenge. Any admin who takes se…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now