Tag: RHEL

  • Dynamic DNS Using LibCloud – EdgeRouter

    This tutorial is aimed for users with a dynamic IP, and a DNS host that does not support DynDNS. Basically, we will push our new IP every time that it changes. The steps outlined in this tutorial will work with the providers listed in [[https://ci.apache.org/projects/libcloud/docs/dns/supported_providers.html#provider-matrix|Apache’s documentation]], but I have only actually tested with Rackspace. ===…

  • Send Emails From Gmail Through Shell/Script – Linux

    [[[TOC]]] ——- =Intro= Sometimes there is a need to send an email via command line, or in a script (such as using PHP’s `mail()` method); but there is not an MTA (postfix, sendmail, etc) running on the machine. Note that while it is possible to set an MTA up as a gmail smarthost, they will…

  • Configure OpenVPN with X.509 – Ubiquiti EdgeRouter Lite

    In this tutorial, we will be configuring an OpenVPN server with X.509 certs on a Ubiquiti EdgeRouter Lite. We will also go through how to connect a remote Linux client to the VPN. Below is a physical network diagram: {{{ +——————————–+ | Ubiquiti ERL | (Public IP)| |192.168.69.254 =============={eth2 eth0}============= | \ / | |…

  • Configure Linux for Active Directory Authentication With SSSD

    In this tutorial, we will configure a Linux box to authenticate against Active Directory. There are a few different methods to go about this, we will use `sssd` because it is recommended by [[https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/SSSD-Introduction.html|Red Hat]] # Remove pam_ldap if it is installed {{{ # Red Hat/CentOS/Fedora yum remove pam_ldap # Debian/Ubuntu apt-get remove pam_ldap }}}…