Tuesday, January 30, 2018

Quick-n-easy VPN configuration script via AWS :)

Creating a VPN router script can be a lengthy process. Say you have a popular Cisco ASA node and would like to connect it upto AWS VPC using a VGW (two tunnels by default).
The AWS console makes it easy to create VPC, VGW, Customer Gateway and VPN tunnels on the console. Need to attach your VGW to your VPC hosting the EC2 instance.




After all are done, go to "Create VPN Connection" screen, highlight the VPN and download the configuration scripts after selecting the choices from the Vendor/Platform/Software version. :)

ASA 5500 series/9.x

Some script excerpts:
crypto isakmp identity addresscrypto ikev1 enablecrypto ikev1 policy 201 encryption aes authentication pre-share group 2 lifetime 28800 hash shaexit!! The tunnel group sets the Pre Shared Key used to authenticate the! tunnel endpoints.!tunnel-group type ipsec-l2ltunnel-group ipsec-attributes  ikev1 pre-shared-key!! This option enables IPSec Dead Peer Detection, which causes semi-periodic! messages to be sent to ensure a Security Association remains operational.!  isakmp keepalive threshold 10 retry 10exit!tunnel-group 54.85.7.229 type ipsec-l2ltunnel-group 54.85.7.229 ipsec-attributes  ikev1 pre-shared-key!! This option enables IPSec Dead Peer Detection, which causes semi-periodic! messages to be sent to ensure a Security Association remains operational.!  isakmp keepalive threshold 10 retry 10exit

Saturday, January 27, 2018

AWS CSA


Friday, January 26, 2018

Catch me (ip ip ip...) if you can :)


Catch me if you can ... > tcp contains aws && (ip.addr == your-ip-addr) > ip.addr > bootp.option.type == 53 > tcp.analysis.flags -Or- tshark comes in handy



Saturday, January 13, 2018

Now we're talking image Rekognition.....:)


Friday, January 05, 2018

Run the task !! :)