Posts

Showing posts from October, 2014

How to connect cisco router as client of NTT FLETS VPN WIDE フレッツ・VPN ワイド

How to connect cisco router as client of NTT FLETS VPN WIDE フレッツ・VPN ワイド https://flets.com/vpnwide/manual.html Here is configuration for IOS 15.1. interface GigabitEthernet0/0  description LAN-SIDE-INTERFACE  ip address 192.168.0.1 255.255.255.0  no ip redirects  no ip unreachables  no ip proxy-arp  duplex auto  speed auto  no cdp enable  ! interface GigabitEthernet0/1  description interface-connected-to-ONU  no ip address  no ip redirects  no ip unreachables  no ip proxy-arp  ip tcp adjust-mss 1414  duplex auto  speed auto  pppoe enable group global  pppoe-client dial-pool-number 1  ! interface Dialer1  description dialer-interface-for-NTT-FLETS-VPN-WIDE  ip unnumbered GigabitEthernet0/0  no ip unreachables  ip mtu 1454  ip virtual-reassembly in  encapsulation ppp  dialer pool 1  dialer idle-timeout 0  ppp authentication pap callin  ppp chap refuse  ppp pap sent-username username12@cvn000000123456 password 7 12345678901  no cdp enable If cannot connect check MTU and MRU and re

Build haproxy 1.5 stable version RPM on CentOS 6.x

A Recipe for a haproxy 1.5 stable version RPM on CentOS  Perform the following on a build box as a regular user. Create an RPM Build Environment  Install rpmdevtools from the EPEL repository:  sudo yum install rpmdevtools pcre-devel  run  rpmdev-setuptree  Install Prerequisites for RPM Creation  sudo yum groupinstall 'Development Tools'  sudo yum install openssl-devel   Download haproxy wget http://www.haproxy.org/download/1.5/src/haproxy-1.5.4.tar.gz  mv haproxy-1.5.4.tar.gz ~/rpmbuild/SOURCES/  Get Necessary System-specific Configs git clone git://github.com/bluerail/haproxy-centos.git  cp haproxy-centos/conf/* ~/rpmbuild/SOURCES/  cp haproxy-centos/spec/* ~/rpmbuild/SPECS/   edit ~/rpmbuild/SPECS/haproxy.spec  and change to the latest version at:   %define version 1.5.4  Build the RPM  cd ~/rpmbuild/ rpmbuild -ba SPECS/haproxy.spec The resulting RPM will be in ~/rpmbuild/RPMS/x86_64 install built rpm  yum localinstall /root/rpmbuild/RPMS/x86_