Blog |Follow Nick on Mastodon| About
 

Tag Archive: centos


  • Cisco NTP Authentication to Linux Server

    NTP Authentication is a recommended best security practice; there are a lot of documents out there on how to setup NTP authentication between two Cisco IOS devices but anything between Cisco and LINUX is few and far between.

    I have setup a LINUX Server (Redhat/CentOS) box, that will act ...

  • RPM SPECS for Python CiscoConfParse

    Recently I have been using ciscoconfparse to loop through Cisco configs, installing on my local laptop is straightforward with pip however getting it onto a customers linux jump server can be a bit more tricky (proxies, build deps and the like).

    For Redhat/Centos (6) boxes I found an out ...

  • apc.php for rhel / centos

    Note to self: The apc.php (script for monitroing apc performance) is stored in - /usr/share/doc/php-pecl-apc-3.1.3p1

  • CentOS/Redhat IPSEC and EC2

    So it turns out my 5 minute vpn doesn't work in EC2 because the ESP/AH protocols (50 and 51) are blocked on the AWS network.

    This is no big deal tho, as NAT-T allows one to tunnel IPSEC over UDP... however getting it to work on CentOS required ...

  • RedHat Cluster - How to Disable Fencing

    I've spent far too long googling how to disable fencing.... I can only guess that because you shouldn't really disable fencing no-one wants to post a how to... so for the hard of hearing.

    Do NOT disable fencing on your RedHat Cluster unless you really know what you ...

  • GRE example for CentOS/RHEL

    I'm not sure why GRE isn't in RedHat's Documentation, but setting up a GRE tunnel between two RedHat boxes is quite straight forward...

    On Host1 (192.168.56.101)...

    #!/bin/bash
    [root@CentOS1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-tun0 
    DEVICE=tun0
    BOOTPROTO=none
    ONBOOT=no
    TYPE=GRE
    PEER_OUTER_IPADDR ...
  • 5 Minute CentOS/RHEL VPN

    I'm looking at running two servers on EC2; as we all know the most important thing about running services in the cloud is encryption!

    Whilst googling on how to setup a host-to-host IPSEC VPN I was surprised at how easy it is...

    On Host1 (192.168.56.101)...

    #!/bin ...

Page 1 / 2 »

 
Nick Bettison ©