170 likes | 348 Views
V P N. V P N. Renjie Weng rweng@stevens.edu. cs615 presentation 4/22/2013. Virtual Private Network. extends a private network across public networks like the Internet. Virtual Private Network. extends a private network across public networks like the Internet OpenVPN & EC2.
E N D
V P N V P N RenjieWengrweng@stevens.edu cs615 presentation 4/22/2013
Virtual Private Network • extends a private network across public networks like the Internet
Virtual Private Network • extends a private network across public networks like the Internet • OpenVPN & EC2
Virtual Private Network • extends a private network across public networks like the Internet • OpenVPN & EC2 • 2 private network behind NAT
Virtual Private Network • extends a private network across public networks like the Internet • OpenVPN & EC2 • 2 private network behind NAT • Routing
Virtual Private Network • extends a private network across public networks like the Internet • OpenVPN & EC2 • 2 private network behind NAT • Routing • Bridging
Routing VS. Bridging Bridged mode -- Layer 2 -- Data Link • Works well with application-layer protocols that depend on LAN broadcast resolution • Can tunnel non-IP protocols
Routing / NAT -- Layer 3 – Network • More efficient and scalable • Greater control over IP and routing configuration • Doesn't work well with application-layer protocols that depend on broadcast resolution
Virtual Private Network How to set up: Download Server Package from OpenVPN.net Or, AWS AMIs
VPN VS. VLAN • VPN is a method of creating a smaller sub network on top of an existing bigger network while VLAN is a subcategory of VPN
VPN VS. VLAN • VPN is a method of creating a smaller sub network on top of an existing bigger network while VLAN is a subcategory of VPN • A VLAN is used to group computers that are not usually within same geography into the same broadcast domain while VPN is most commonly related to remote access to a company’s network
VPN VS. PROXY • sniffing • transparent • uptime < 25%
goagent • AWS charges, GAE doesn't. • 1 GigaBytes / day for ONE application • Build one for your own • Easy to distribute • http://code.google.com/p/goagent/
Reference OpenVPN server: http://openvpn.net/index.php/access-server/download-openvpn-as-sw.html OpenVPN client: http://openvpn.net/?option=com_content&id=357 Install OpenVPNserver on CentOS: (1) http://www.youtube.com/watch?v=aH1wkLZGhPQ (2) http://www.server-world.info/en/note?os=CentOS_6&p=openvpn (Server Directory: /usr/local/openvpn_as ; Admin: https://xxx:943/admin/ ) VPN client configmanager on Ubuntu: http://www.youtube.com/watch?v=IgsU86jdXIc *Bridge: http://openvpn.net/index.php/open-source/documentation/miscellaneous/76-ethernet-bridging.html Amazon Build-in OpenVPN AMIs: OpenVPN Access Server: http://docs.openvpn.net/how-to-tutorialsguides/virtual-platforms/amazon-ec2-appliance-ami-quick-start-guide/ StarCraft tools: http://www.teamliquid.net/forum/viewmessage.php?topic_id=72621
Thank all. Q & A