Wednesday, October 15, 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 [email protected] password 7 12345678901
 no cdp enable

If cannot connect check MTU and MRU and reduce.
you can add to Dialer1
ppp lcp echo mru verify
so you can check in logs which MRU and MTU was negotiated.


Also there is ppp authentication bug with some IOS 15.x so the best way is update to the latest MD release.

there is no need adding any vpdn settings.

Friday, October 3, 2014

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_64/haproxy-1.5.4-1.el6.x86_64.rpm


Credits Based on the Red Hat 6.4 RPM spec for haproxy 1.4. Maintained by Martijn Storck
 Found at:
https://github.com/bluerail/haproxy-centos

Configs and manual:

http://cbonte.github.io/haproxy-dconv/configuration-1.5.html

Cybermap

Internet Storm Center Infocon Status

Internet Storm Center Infocon Status
Internet Storm Center Infocon Status