May 22, 2017

Alfresco tips and tricks – #6 CIFS and FTP on non privileged ports using IPTABLES

The CIFS server (as well as FTP) uses ports in the privileged socket range (137, 138, 139, 21 etc.), so if you are in a unix machine you will be required to run Alfresco from a privileged account. To avoid this you can run CIFS on non privileged ports using iptables (administration tool for IPv4 packet filtering and NAT) and the built-ins PREROUTING chain in a nat table.
Let’s see how to configure iptable in a CentOS operative system.

Ensure you define non privileged ports in the alfresco-global.properties.

Update the iptables configuration file.

A note about the ipv4 forwarding

 

4 Comments

  1. Giuseppe Urso

    Thanks!
    My idea is to collect a series of quick useful tips for rapid settings and maintenances. When I client call for support I need a practical vademecum…you now 😉 

    Reply

Leave a Reply

Your email address will not be published.