Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian cookies and tracking notice, (opens new window)
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
🔍 Discover Our Product Documentation

Barracuda CloudGen Firewall 8.3 (EoL – Doc maintenance discontinued)
Results will update as you type.
  • Deployment
  • Get Started
  • Network
  • High Availability
  • Licensing
  • Administration
  • Authentication
  • Cloud Integration
  • Assigned Services
  • Services
    • Access Control Service
    • DHCP
    • DNS
    • Dynamic Routing Protocols (OSPF/RIP/BGP)
    • Firewall
      • Forwarding Firewall
        • Default Forwarding Firewall Rules
        • Access Rules
        • Policy Profiles
        • Firewall Objects
        • Application Control
        • TLS Inspection in the Firewall
        • Virus Scanning and ATP in the Firewall
        • URL Filtering in the Firewall
        • File Content Filtering in the Firewall
        • Mail Security in the Firewall
        • User Agent Filtering in the Firewall
        • How to Enforce SafeSearch in the Firewall
        • How to Configure Google Accounts Filtering in the Firewall
        • How to Block Search Terms using a Custom Application Object
        • How to Configure Custom Block Pages and Texts
        • Botnet and Spyware Protection in the Firewall
        • Intrusion Prevention System (IPS)
        • Traffic Shaping
        • Bridging
        • Firewall Plugin Modules
          • RPC Firewall Plugin Modules
            • How to Configure the DCERPC Plugin Module
            • How to Configure the ONCRPC Plugin Module
          • How to Configure DNS Translation Using the DNS Plugin Module
          • How to Use the FTP Plugin Module
          • How to Use the Oracle SQL*Net (ora) Plugin Module
          • How to Use the Trivial FTP Plugin Module
        • Firewall Authentication and Guest Access
        • How to Configure ICMP Settings
        • How to Configure IPv6 Header Settings
      • Host Firewall
      • Firewall Settings
    • HTTP Proxy
    • SIP Proxy
    • URL Filter
    • Virus Scanner
    • VPN
    • Wi-Fi
    • CloudGen Access Proxy
  • Firewall Control Center
  • Barracuda Secure Connector
  • Best Practice
  • Implementation Guides
  • Monitoring and Reporting
  • Maintenance
  • Remote Access Clients
  • Management Interfaces, Tools, and Apps
  • TUFIN Integration API Service
  • Hardware Models
  • REST API

    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    How to Configure the ONCRPC Plugin Module
    Published Jan 08, 2021

    How to Configure the ONCRPC Plugin Module

    Jan 08, 2021
    Subscribe

    ONCRPC, also known as SUNRPC allows services to register on a server, which then makes them available on dynamic TCP/UDP ports. By means of this mechanism, ports required for specific purposes (for example NFS), can be dynamically enabled without weakening a strict security policy.  

    The heart of ONCRPC is the so-called portmapper, an interface responsible for allocation of ports and protocols to services. If an application demands a certain service, a request is sent to the portmapper. The portmapper's answer contains the required port and protocol, which are then used for connection establishment.

    Configuring Passive ONCRPC

    Step 1. Enable Access to the Portmapper
    1. Go to the CONFIGURATION tab and click Simple Configuration.

    2. In the Operational Configuration table, click Ruleset under the Firewall section. The Configuration Overview/Forwarding Rules page opens.

    3. Create a PASS rule for portmapper access using a corresponding service object. 

    4. When configuring the service entry, select either UDP or TCP as protocol and set the parameter Port Range to port 111. 

    5. Last but not least, you need to select ONCRPC in the Available Plugins drop-down menu.

    Step 2. Create a Second Rule for the Required Service (For Example NFS)
    1. Create a second firewall rule. Again, as mentioned in step 1, the settings for the service object are of interest. 

    2. In the service object, select the required protocol (either UDP or TCP) and use parameter Dyn. Service for defining the service information (which means servicename:serviceID; for example ONCRPC:100003).

    Step 3. Check the Ruleset Hierarchy
    • For successful usage of dynamic services it is mandatory to have the general rule (created during step 1) situated above the service rules (created during step 2). You can move the rules up or downwards within the ruleset by drag-and-drop.

    Configuring Active ONCRPC

    Step 1. Configure the RPC Server Information
    1. Go to the CONFIGURATION > Configuration Tr ee > Box > Assigned Services > Firewall > Firewall Forwarding Settings page.

    2. From the Configuration menu on the left, select RPC.

    3. Click Lock.

    4. In the Default Poll Time (secs) field, you can define the interval for requesting RPC information from the RPC server (default: 300).

    5. In the ONC/RPC Servers section, click the + icon to create a new server entry.

    6. Enter a descriptive name and click OK to access the ONC/RPC Servers configuration.

    7. In the Portmapper IP field,  enter the IP address of the considered RPC server.

    8. The other parameters are specified as follows:

      • Portmapper Port [111] – Defines the port where portmapper is listening on.

        Take into consideration that the service object for the portmapper rule (created in step 2, see above section) has to match this port.

      • Optional Source IP [0.0.0.0] – This parameter allows you to define an explicit IP address that is used when connecting to the RPC server. This comes handy as soon you are using policy routing. The default value of 0.0.0.0 deactivates this parameter and the correct bind IP address will be specified via the routing table.

      • Polling Time (secs)[300] – Here the interval for requesting RPC information from the RPC server is defined.

      • Additional Addresses (NAT) – If you want to use NAT, enter the corresponding addresses in this section by clicking the + icon.  

    9. Click Send Changes and then click Activate.

    Step 2: Enable Access to the Portmapper
    1. Create a PASS rule for portmapper access using a corresponding service object. 

    2. When configuring the service entry, select either UDP or TCP as protocol and set the parameter Port Range to port 111 (see figure below).

    If you have specified an alternative port in the server configuration, do not forget to define this alternative port instead of the default port here.

    • Do not fill in the Plugin field when configuring active ONCRPC!

    General service object required for creating a PASS rule to enable active ONCRPC:

    Step 3. Create a Second Rule for the Required Service (For Example NFS)
    1. Create a second firewall rule. Again, as mentioned in step 1, the settings for the service object are of interest.

    2. Select the required protocol (either UDP or TCP) and use parameter Dyn. Service for defining the service information (servicename:serviceID; in our example this would be nfs:100003). 

    Service object needed for enabling nfs usage via a portmapper:

    Step 4: Check the Ruleset Hierarchy
    • For successful usage of dynamic services it is mandatory to have the general rule (created during step 2) situated above the service rules (created during step 3). You can move the rules up or downwards within the ruleset by drag-and-drop.

    Configure Active & Passive ONCRPC (recommended)

    Step 1: Configure the RPC Server Information
    • Configure the RPC Server information as described above in step 1 (Configure the RPC Server Information).

    Step 2: Enable Access to the Portmapper
    1. Create a PASS access rule for portmapper access using a corresponding service object.

    2. When configuring the service entry, select UDP or TCP as protocol and set the parameter Port Range to port 111.

    3. Select oncrpc in the Available Plugins drop-down menu. (see figure below). 

    General service object needed for creating a PASS rule to enable active & passive ONCRPC:

    Step 3. Create  Access Rule for the Service
    1. Create a second access rule. Again, as mentioned in step 1, the settings for the service object are of interest.

    2. Select the required protocol (either UDP or TCP) and use parameter Dyn. Service for defining the service information (servicename:serviceID; in our example this would be nfs:100003). 

    Service object required for enabling nfs usage via a portmapper:

    Step 4: Check the Ruleset Hierarchy

    Verify that the access rule created in step 2 is located above the service rules created in step 3.


    We value your feedback.
    If you have questions, suggestions, or feedback on our documentation, contact the Campus Product Documentation team.
    For general product inquiries or technical support, please contact the global Barracuda Support team.

    {"serverDuration": 31, "requestCorrelationId": "40eefaa5e9c844aab31d5d06ece51faf"}