To enable packet forwarding functionality, we change a line in the file below nano /etc/nf We should change the lines below according to our network topology (had better to choose an IP out of the DHCP scope) iface eth0 inet static We set a static IP on the interface nano /etc/network/interfaces DHCP server can fix the IP address or we can set it to the interface. Setting a static IP address is important. Lets begin with setting up OpenVPN Client on RaspberryPI (planning to write a blog post about setting up OpenVPN server on the DigitalOcean VPS later) Īfter setting up Raspbian on RaspberryPI and access to the consol via SSH, it is time to upgrade and update the OS sudo apt-get update & sudo apt-get upgrade & sudo apt-get dist-upgrade Its computing power is good enough for prototype projects and personal usage. I choosed RaspberryPI from among various miniPC alternatives, because it is widely used, has its own Debian based custom OS named Raspbian, and consumes about 3W power. According to my personal experience, below 100ms packet latency doesn’t noticeably effect web surfing experience. By using this project, I have pushed my daily Internet traffic trough Europe based VPS servers to Turkey without feeling any slowness, for many years. Paid/Free VPN service providers provide very slow Internet connection in practice without any reason. ![]() ![]() In this model, we are going to be able to use remote VPS‘s Internet connection. It works in site-to-site VPN model and we are going to be able to tunnel all our LAN traffic pass trough our VPS. Raspberry PI and DigitalOcean VPS helped me alot while getting my VPN Gateway (VPN Router) project done. The increasing availability of High-grade and budget friendly VPS (virtual private server) services accelerated personal projects. JanuSetting up VPN Gateway with Raspberry PI (VPN Router)
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |