You will be prompted for a profile password then to enter your PIN. To connect using the OpenVPN Connect App click the sliding bar next to the. After you enter your PIN and the connection is completed you will be shown the servers address and the Private IP assigned to you by the VPN server. To connect using the Pritunl Client click the 3 bars in the upper right corner of the window then Connect. If you see anything red in the Server Output feel free to discuss it below.įrom a remote location be that a friends house, relatives house, any form of Public Wi-Fi, place of work, or any other source such as Cellular, enable the VPN on your device. If all is well you should see a Server Output similar to this: You can now start the server via the Start Server button. Provided only one server has been setup as has been done in this tutorial this field should be automatically populated. The following are examples of common home networks: Be sure you verify what network yours is before moving forward. From the pop-up menu there's only two values you need to pay attention to:ĭesignate the LAN being broadcasted by your Router. Now click on Add Route (upper-right corner). For this tutorial we don't want that so start by clicking Remove Route right of 0.0.0.0/0. This basically says to take all incoming traffic and to direct it out to the Internet.Īs is, our server would act as a proxy between us and the open web. In it's default configuration Pritunl gives us two Static Routes. You'll be greeted by your new servers configuration page:īefore we can start our server we need to make a couple of changes. If you plan to have more than one device connect to this VPNĪllow multiple devices to talk to each other while connected to the VPNĪll other options can be left alone unless you have reason to change them. This must be different from your LAN but can otherwise be whatever you wish If you want to use one other than Googles If you'd like to designate a specific port in your Router for Pritunl to useįor our application here make sure you change this from UDP -> TCP The primary options we want to focus on are: At the top of the pop-up menu click Advanced. Start by navigating to the Servers page from the menu option in the navigation bar: After this you will be presented with the Initial Setup page:Īlter your Public IPv4/IPv6 config (optional)Ĭhange the Web Console port number (optional) The web page will reload after a while and you'll be presented with the Login Page:Īs the instructions indicate you can run the command sudo pritunl default-password to get the default login credentials. Then copy the output into the setup-key field and click Save. Once you bypass the security dialog you'll be greeted by the Pritunl setup-key page:Īs the initial setup box indicates run the command sudo pritunl setup-key. Your browser may give you a security warning. With the install complete point your computer's web-browser to the IP you assigned the server with: Sudo tee /etc//mongodb-org-4.2.repo key.tmp sudo rpm -import key.tmp rm -f key.tmpĪ complete list of alternative supported distributions can be found on the page. We are going to change that to suit the purpose of this tutorial. You connect to the server, it redirects your traffic back out to the public. In it's default configuration Pritunl fundamentally works like any other VPN service. Linus Media Group published a video on how to use VPS software known as Pritunl to create your own VPN service as oppose to using a public one. We want our VPS to forward our requests to our LAN so we can talk to our systems & servers securely regardless of our location. However, the goal here isn't to re-direct traffic we send to our VPS back out into the public domain. There are many Public VPN services out on the market today that enable safe & secure web browsing for whatever you're doing wherever you are. This tutorial will cover how to use a VPS to create an encrypted tunnel enabling secure communication between your remote/off-site client device(s) and a private network be that your home, an office, or other location. How the VPN works is dependent on how the VPS is configured. This is useful when sending/receiving data over insecure connections such as Public Wi-Fi. This pipe connects you to your VPS (Virtual Private Server) and from there connects you to whatever networks/services you've configured on the VPS. Examples include but are not limited to weakly encrypted or completely un-encrypted services such as HTTP, SMB, NFS, FTP, Telnet, or other services you don't/shouldn't publish to the Internet such as IPMI/iDRAC/iLO, your Routers WebUI, or SNMP(v1/v2).Ī VPN or Virtual Private Network encapsulates and encrypts your network traffic inside of a "pipe" so-to-speak. At times you may find yourself with servers or services that you host either at home or at work that you don't want to or shouldn't publish to the Internet but wish you could still have access to remotely and securely.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |