Oh the joy of WFH.
Windows 10, even the Home edition, came with a built-in VPN server, or so I was told. Unfortunately, I could’t get it to work. Therefore I need to setup OpenVPN. It worked, kind of, it’s connected but no accesss to LAN or internet, so it needed some tweaks. Unfortunately again, the instructions were kinda over the place. Or maybe it’s already clear, but I skipped them over. At any rate, this collected notes is a self reminder for probable future usage.
In Access Server you can go to Configuration Activation. There you can enter the fixed license key and press the Activate button. The OpenVPN Access Server will then attempt to contact our activation servers and activate this fixed license key.
- That key can then be activated on your OpenVPN Access Server to unlock a certain amount of concurrent VPN connections on that server. If your needs are such that you wish to buy very large amount of connections, or you need a quote before you purchase, then contact sales@openvpn.net.
- Openvpn Key File NordVPN Key Features: This offers a compact restore setup that’s straightforward to make use of and pretty straightforward. This program works successfully and shortly on the protected private shopping of the Internet. You’ll be able to run wherever from any site visitors or group marketing campaign.
- Grab OpenVPN access server installer https://openvpn.net/community-downloads/
- Install and follow the instruction.
- Edit the server configuration file.
- Edit the client configuration file.
- Open Windows Services on the OpenVPN server, enable Routing and Remote Access service
- Register a DDNS address. I use no-ip.com
- Login to your router. If it supported DDNS, set it up. If it’s not, buy another one.
- Setup port forwarding on the router.
- Set static routing on the router so that traffic from/to 10.8.0.x is routed through the OpenVPN server’s local address.
Openvpn Access Server License Key Generator
- Start the OpenVPN server, send the client configuration and certificate files to the clients, and start OpenVPN connect on the client side. The client now should be connected to the OpenVPN server, have access to internet and have access to LAN resources at the server side.
- (2021/01/19 edit) Also make sure you don’t enable IPv6 on your router. Even if it’s disabled, sometimes updates from your ISP will enable your router’s IPv6 connectivity -making your OpenVPN server, with the above config, inaccessible from outside- therefore you need to manually disable it. OpenVPN does support IPv6, but I’d rather not dealing with it yet.
Jan 14th, 2020
Never
Not a member of Pastebin yet?Sign Up, it unlocks many cool features!
- [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
- [s6-init] ensuring user provided files have correct perms...exited 0.
- [fix-attrs.d] applying ownership & permissions fixes...
- [cont-init.d] executing container initialization scripts...
- [cont-init.d] 01-envfile: exited 0.
- _ ()
- | | / __| | | /
- |_| |___/ |_| __/
- We gratefully accept donations at:
- -------------------------------------
- -------------------------------------
- User uid: 1000
- -------------------------------------
- [cont-init.d] 10-adduser: exited 0.
- Local time is now: Wed Jan 15 12:15:35 AEDT 2020.
- Universal Time is now: Wed Jan 15 01:15:35 UTC 2020.
- [cont-init.d] 20-time: exited 0.
- installing openvpn-as for the first time
- Selecting previously unselected package openvpn-as-bundled-clients.
- (Reading database ... 11518 files and directories currently installed.)
- Preparing to unpack /openvpn/openvpn-clients.deb ...
- Setting up openvpn-as-bundled-clients (3) ...
- Selecting previously unselected package openvpn-as.
- (Reading database ... 11531 files and directories currently installed.)
- Unpacking openvpn-as (2.7.5-932a08a3-Ubuntu18) ...
- Setting up openvpn-as (2.7.5-932a08a3-Ubuntu18) ...
- The Access Server has been successfully installed in /usr/local/openvpn_as
- Configuration log file has been written to /usr/local/openvpn_as/init.log
- Please enter 'passwd openvpn' to set the initial
- administrative password, then login as 'openvpn' to continue
- To reconfigure manually, use the /usr/local/openvpn_as/bin/ovpn-init tool.
- +++++++++++++++++++++++++++++++++++++++++++++++
- Admin UI: https://172.17.0.4:943/admin
- +++++++++++++++++++++++++++++++++++++++++++++++
- Beginning with OpenVPN AS 2.6.0 compression is disabled by default and on upgrades as security patch.
- Stopping openvpn-as now; will start again later after configuring
- [cont-init.d] 40-openvpn-init: executing...
- Continuing will delete this configuration and restart from scratch.
- Please enter 'DELETE' to delete existing configuration: Stopping openvpnas daemon...
- OpenVPN Access Server
- ------------------------------------------------------
- OpenVPN Access Server End User License Agreement (OpenVPN-AS EULA)
- 1. Copyright Notice: OpenVPN Access Server License;
- Copyright (c) 2009-2019 OpenVPN Inc. All rights reserved.
- 2. Redistribution of OpenVPN Access Server binary forms and related documents,
- are permitted provided that redistributions of OpenVPN Access Server binary
- forms and related documents reproduce the above copyright notice as well as
- 3. You agree not to reverse engineer, decompile, disassemble, modify,
- translate, make any attempt to discover the source code of this software,
- 4. The OpenVPN Access Server is bundled with other open source software
- components, some of which fall under different licenses. By using OpenVPN
- or any of the bundled components, you agree to be bound by the conditions
- of the license for each respective component. For more information, you can
- find our complete EULA (End-User License Agreement) on our website
- (http://openvpn.net), and a copy of the EULA is also distributed with the
- Access Server in the file /usr/local/openvpn_as/license.txt.
- 5. This software is provided 'as is' and any expressed or implied warranties,
- including, but not limited to, the implied warranties of merchantability
- and fitness for a particular purpose are disclaimed. In no event shall
- OpenVPN Inc. be liable for any direct, indirect, incidental,
- special, exemplary, or consequential damages (including, but not limited
- to, procurement of substitute goods or services; loss of use, data, or
- profits; or business interruption) however caused and on any theory of
- liability, whether in contract, strict liability, or tort (including
- negligence or otherwise) arising in any way out of the use of this
- software, even if advised of the possibility of such damage.
- 6. OpenVPN Inc. is the sole distributor of OpenVPN Access Server
- licenses. This agreement and licenses granted by it may not be assigned,
- sublicensed, or otherwise transferred by licensee without prior written
- consent of OpenVPN Inc. Any licenses violating this provision
- will be subject to revocation and deactivation, and will not be eligible
- 7. A purchased license entitles you to use this software for the duration of
- time denoted on your license key on any one (1) particular device, up to
- the concurrent user limit specified by your license. Multiple license keys
- may be activated to achieve a desired concurrency limit on this given
- device. Unless otherwise prearranged with OpenVPN Inc.,
- concurrency counts on license keys are not to be divided for use amongst
- multiple devices. Upon activation of the first purchased license key in
- this software, you agree to forego any free licenses or keys that were
- given to you for demonstration purposes, and as such, the free licenses
- will not appear after the activation of a purchased key. You are
- responsible for the timely activation of these licenses on your desired
- server of choice. Refunds on purchased license keys are only possible
- within 30 days of purchase of license key, and then only if the license key
- has not already been activated on a system. To request a refund, contact us
- through our support ticket system using the account you have used to
- purchase the license key. Exceptions to this policy may be given for
- machines under failover mode, and when the feature is used as directed in
- the OpenVPN Access Server user manual. In these circumstances, a user is
- granted one (1) license key (per original license key) for use solely on
- failover purposes free of charge. Other failover and/or load balancing use
- cases will not be eligible for this exception, and a separate license key
- would have to be acquired to satisfy the licensing requirements. To request
- a license exception, please file a support ticket in the OpenVPN Access
- Server ticketing system. A staff member will be responsible for determining
- exception eligibility, and we reserve the right to decline any requests not
- meeting our eligibility criteria, or requests which we believe may be
- 8. Activating a license key ties it to the specific hardware/software
- combination that it was activated on, and activated license keys are
- nontransferable. Substantial software and/or hardware changes may
- invalidate an activated license. In case of substantial software and/or
- hardware changes, caused by for example, but not limited to failure and
- subsequent repair or alterations of (virtualized) hardware/software, our
- software product will automatically attempt to contact our online licensing
- systems to renegotiate the licensing state. On any given license key, you
- are limited to three (3) automatic renegotiations within the license key
- lifetime. After these renegotiations are exhausted, the license key is
- considered invalid, and the activation state will be locked to the last
- valid system configuration it was activated on. OpenVPN Inc.reserves the
- right to grant exceptions to this policy for license holders under
- extenuating circumstances, and such exceptions can be requested through a
- ticket via the OpenVPN Access Server ticketing system.
- 9. Once an activated license key expires or becomes invalid, the concurrency
- limit on our software product will decrease by the amount of concurrent
- connections previously granted by the license key. If all of your purchased
- license key(s) have expired, the product will revert to demonstration mode,
- which allows a maximum of two (2) concurrent users to be connected to your
- server. Prior to your license expiration date(s), OpenVPN Inc. will attempt
- to remind you to renew your license(s) by sending periodic email messages
- to the licensee email address on record. You are solely responsible for
- the timely renewal of your license key(s) prior to their expiration if
- continued operation is expected after the license expiration date(s).
- OpenVPN Inc. will not be responsible for any misdirected and/or undeliverable
- email messages, nor does it have an obligation to contact you regarding
- 10. Any valid license key holder is entitled to use our ticketing system for
- support questions or issues specifically related to the OpenVPN Access
- Server product. To file a ticket, go to our website at http://openvpn.net/
- and sign in using the account that was registered and used to purchase the
- license key(s). You can then access the support ticket system through our
- website and submit a support ticket. Tickets filed in the ticketing system
- are answered on a best-effort basis. OpenVPN Inc. staff
- reserve the right to limit responses to users of our demo / expired
- licenses, as well as requests that substantively deviate from the OpenVPN
- Access Server product line. Tickets related to the open source version of
- 11. Purchasing a license key does not entitle you to any special rights or
- privileges, except the ones explicitly outlined in this user agreement.
- Unless otherwise arranged prior to your purchase with OpenVPN,
- Inc., software maintenance costs and terms are subject to change after your
- initial purchase without notice. In case of price decreases or special
- promotions, OpenVPN Inc. will not retrospectively apply
- credits or price adjustments toward any licenses that have already been
- issued. Furthermore, no discounts will be given for license maintenance
- renewals unless this is specified in your contract with OpenVPN Inc.
- Please enter 'yes' to indicate your agreement [no]:
- Once you provide a few initial configuration settings,
- OpenVPN Access Server can be configured by accessing
- (enter 'no' to configure as a backup or standby node)
- Please specify the network interface and IP address to be
- (1) all interfaces: 0.0.0.0
- Please enter the option number from the list above (1-2).
- Please specify the port number for the Admin Web UI.
- Please specify the TCP port number for the OpenVPN Daemon
- Should client traffic be routed by default through the VPN?
- Should client DNS traffic be routed by default through the VPN?
- Use local authentication via internal DB?
- Private subnets detected: ['172.17.0.0/16']
- Should private subnets be accessible to clients by default?
- To initially login to the Admin Web UI, you must use a
- username and password that successfully authenticates you
- with the host UNIX system (you can later modify the settings
- so that RADIUS or LDAP is used for authentication instead).
- You can login to the Admin Web UI as 'openvpn' or specify
- a different user account to use for this purpose.
- Do you wish to login to the Admin UI as 'openvpn'?
- > Specify the username for an existing user or for the new user account: Note: This user already exists.
- > Please specify your OpenVPN-AS license key (or leave blank to specify later):
- Removing Cluster Admin user login...
- Adding new user login...
- Writing as configuration file...
- Wiping any previous userdb...
- Modifying default profile...
- Modifying new user as superuser in userdb...
- Hostname: d6e56532fed5
- Getting web user account...
- Adding web group...
- Initializing confdb...
- Generating PAM config...
- Starting openvpnas...
- NOTE: Your system clock must be correct for OpenVPN Access Server
- to perform correctly. Please ensure that your time and date
- You can now continue configuring OpenVPN Access Server by
- Login as 'admin' with the same password used to authenticate
- During normal operation, OpenVPN AS can be accessed via these URLs:
- Client UI: https://172.17.0.4:943/
- See the Release Notes for this release at:
- https://openvpn.net/vpn-server-resources/release-notes/
- Stopping openvpn-as now; will start again later after configuring
- [cont-init.d] 50-interface: executing...
- MOD Default {'admin_ui.https.ip_address': None} {'admin_ui.https.ip_address': 'eth0'}
- MOD Default {'cs.https.ip_address': None} {'cs.https.ip_address': 'eth0'}
- MOD Default {'vpn.daemon.0.listen.ip_address': None} {'vpn.daemon.0.listen.ip_address': 'eth0'}
- MOD Default {'vpn.daemon.0.server.ip_address': None} {'vpn.daemon.0.server.ip_address': 'eth0'}
- [cont-init.d] 99-custom-scripts: executing...
- [cont-init.d] 99-custom-scripts: exited 0.
- [services.d] starting services
RAW Paste Data