networking on davidchua https://dchua.com/tags/networking/ Recent content in networking on davidchua Hugo -- gohugo.io en-us Thu, 21 Jul 2016 00:00:00 +0000 Setting Up Amazon VPC to VPC Peer Connection https://dchua.com/posts/2016-07-21-setting-up-amazon-vpc-to-vpc-peer-connection/ Thu, 21 Jul 2016 00:00:00 +0000 https://dchua.com/posts/2016-07-21-setting-up-amazon-vpc-to-vpc-peer-connection/ Need to communicate between 2 Amazon VPCs securely and privately? Here’s some of my notes on setting up a VPC Peer Connection. Prerequisite Ensure that your VPCs do not share the same CIDR block and can are in different subnets Link up Note, VPC Peering is one-way only so if you create a VPC peer connection from one VPC (lets call this A) and another VPC (B), only A will be able to communicate and access B. Setting up OpenVPN AS with FreeRADIUS AND stunnel https://dchua.com/posts/2015-07-08-setting-up-openvpn-as-with-freeradius-and-stunnel/ Wed, 08 Jul 2015 00:00:00 +0000 https://dchua.com/posts/2015-07-08-setting-up-openvpn-as-with-freeradius-and-stunnel/ If you’re ever curious as to how do VPN service providers manage all their users and their authentication. I hope this might give you a little peek. This article will serve to setup FreeRADIUS as the authentication mechanism, OpenVPN as the VPN protocol and stunnel as an introduction to obfuscating censorship. With all these setup, you’re one step closer to start providing VPN services. Setup FreeRADIUS Install Freeradius Centos $ yum install freeradius freeradius-mysql Create Freeradius Database Install MySQL Getting Singapore Mobile Broadband to give you an public ip address https://dchua.com/posts/2014-01-02-getting-singapore-mobile-broadband-to-give-you-an-public-ip-address/ Thu, 02 Jan 2014 00:00:00 +0000 https://dchua.com/posts/2014-01-02-getting-singapore-mobile-broadband-to-give-you-an-public-ip-address/ If your computers are behind a 3G/4G mobile broadband router, you may be finding yourself without a publicly accessible external IP address to call back to. By default, most broadband plans would put you behind a private network which means you cannot access your devices w/o being in the same network. To solve this and get your provider to provide you with a public ip address, in your 3G/4G routers, you should have an option to manually specify an APN.