Virtual Private Network

advertisement
Renjie Weng rweng@stevens.edu
cs615 presentation 4/22/201

extends a private network across public
networks like the Internet


extends a private network across public
networks like the Internet
OpenVPN & EC2



extends a private network across public
networks like the Internet
OpenVPN & EC2
2 private network behind NAT




extends a private network across public
networks like the Internet
OpenVPN & EC2
2 private network behind NAT
Routing





extends a private network across public
networks like the Internet
OpenVPN & EC2
2 private network behind NAT
Routing
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
How to set up:
Download Server Package from OpenVPN.net
Or, AWS AMIs

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 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



sniffing
transparent
uptime < 25%





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/
OpenVPN server:
http://openvpn.net/index.php/access-server/download-openvpn-assw.html
OpenVPN client:
http://openvpn.net/?option=com_content&id=357
Install OpenVPN server 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 config manager on Ubuntu:
http://www.youtube.com/watch?v=IgsU86jdXIc
*Bridge:
http://openvpn.net/index.php/opensource/documentation/miscellaneous/76-ethernet-bridging.html
Amazon Build-in OpenVPN AMIs: OpenVPN Access Server:
http://docs.openvpn.net/how-to-tutorialsguides/virtualplatforms/amazon-ec2-appliance-ami-quick-start-guide/
StarCraft tools:
http://www.teamliquid.net/forum/viewmessage.php?topic_id=72621
Q&A
Download