3.7 Starting the Linux Access Gateway from RHEL

To start the Linux Access Gateway in RHEL:

  1. Log in as root to the RHEL machine.

  2. Set SELinux to Permissive mode:

    1. Select System > Administration > SELinux Management.

    2. Select System Default Enforcing Mode and set Current Enforcing Mode to Permissive.

  3. Do one of the following:

    1. To disable the firewall, select System > Administration > Security Level and Firewall > Firewall Option to Disabled. Click Apply to save changes.

      NOTE:This is the preferred option.

    2. Open the required ports in the firewall, then select System > Administration > Security Level and Firewall > Firewall Option. Select Other Ports > Add, then add 1443 as the port and set the protocol as TCP. Add other ports required for the reverse proxy services to run. For example, if you have a reverse proxy service listening on port 80 and 443, then add these two TCP ports to the Firewall exceptions list.

  4. Copy the rhel-lag.tar.gz file to the RHEL machine.

  5. Specify the following command to untar the file:

    tar -zxvf rhel-lag.tar.gz -P

  6. Specify the following command to change the directory:

    cd /opt/novell/access-gateway/scripts/

  7. Specify the following command to run the script:

    sh configure-lag.sh

  8. Specify the following information for the script:

    1. Specify the mount point for the Linux Access Gateway in the current Operating System. For example, /lag.

    2. Specify yes when prompted to confirm.

    3. Select the device containing the / partition of the Linux Access Gateway Installation from the list displayed. Specify the relevant number.

    4. Select the device containing the /var partition of the Linux Access Gateway Installation from the list displayed. Specify the relevant number.

    5. Specify yes, when prompted to confirm mounting.

    6. Verify and specify yes, when prompted to confirm fstab modifications.

    7. Specify yes to continue.

    8. Specify yes to edit the syslog configuration, so the Linux Access Gateway logs to syslog.

    9. Specify yes to restart the syslog daemon.

  9. Start the Linux Access Gateway service by using the following command:

    /etc/init.d/novell-am-gateway start

    NOTE:You must close the terminal used to execute the above command.

    The Linux Access Gateway service is automatically started when the machine is rebooted.

  10. (Optional) If you want to stop the Linux Access Gateway service, use the following command:

    /etc/init.d/novell-am-gateway stop