/Dev/Zero Linux

Fix proftpd-utils on Amazon Linux

Nov
16

Amazon just fix your shit please!!

Anyway if you are trying to install proftpd-utils on Amazon linux probably you’ve ran into this beauty:

Error: Package: perl-Crypt-Cracklib-1.7-1.el6.x86_64 (epel)
Requires: perl(:MODULE_COMPAT_5.10.1)

How to fix it:

yum group install “development tools”

yum install perl-CPAN cracklib-devel perl-Mail-Sendmail

perl -MCPAN -e shell

enter….enter all the way to the prompt cpan[1]>

install Crypt::Cracklib

At the time of this writing Amazon Linux uses proftpd-1.3.3g-10.el6.x86_64 so you will need to find proftpd-utils-1.3.3g-10.el6.x86_64.rpm

here is a mirror: ftp://mirror.switch.ch/pool/4/mirror/epel/6/x86_64/Packages/p/proftpd-utils-1.3.3g-10.el6.x86_64.rpm

rpm -ihv –nodeps ftp://mirror.switch.ch/pool/4/mirror/epel/6/x86_64/Packages/p/proftpd-utils-1.3.3g-10.el6.x86_64.rpm

 

That’s it.

 

 

 

 

 

AWS cross region ipsec VPN using Vyos and Amazon VPN

Oct
10

This has been a very challenging task but I was able to get it working after a lot of trials.

Task

You need to connect a AWS VPC running in Europe with a AWS VPC running in US.

Since i wanted to learn more about AWS I decided that i will be using the amazon VPN and connect it to a Vyatta/Vyos router running on the other end.

I will try to keep this simple.Once you have everything up and running go back and expand/secure everything.

This is not a in depth guide and i assumed you know how to setup a VPC, setup static routes ,assign IP’s etc…

VPC 1 ) Name US-VPC

IP Range : 10.100.0.0/18

Network ACL => default allow all both directions

1 public subnet 10.100.0.0/24

1 private subnet 10.100.1.0/20

1 public Route 0.0.0.0/0 => IGW

1 private route no 0.0.0/0 => nat instance

VPC 2) EU-Name EU-VPC

IP Range : 10.100.64.0/18

Network ACL => default allow all both directions

1 public subnet 10.100.64.0/24

1 private subnet 10.100.65.0/24

1 public Route 0.0.0.0/0 => IGW

1 private route no 0.0.0/0 => nat instance

Continue reading “AWS cross region ipsec VPN using Vyos and Amazon VPN” »