LizardVPN
LizardVPN is a VPN service offered to users of ridley.fastlizard4.org. It uses the Layer 2 Tunneling Protocol with Internet Protocol Security (L2TP/IPSec) system, and uses standard PAM authentication - that is, you log in using your existing ridley.fastlizard4.org SSH username and password.
Please be advised that you must have protected your login with two-factor authentication to use LizardVPN, regardless of whether you use passwords or SSH keys to perform SSH login to ridley. This is to curb abuse as well as provide an extra layer of protection. If you do not already have two-factor auth set up on ridley for your account, please go here to set it up before continuning on this page. Instructions on how to log in to the VPN with your passwod and two-factor verification code are below.
Please be aware that this service is provided with a great measure of trust. Abuse of the VPN will not be taken lightly, and will probably result in your access to LizardNet to be completely suspended.
Also, be aware that at this time, LizardVPN only supports IPv4 connections, but they may be behind NAT or direct. This is why you must specify ipv4.ridley.fastlizard4.org instead of just ridley.fastlizard4.org, since you have to force IPv4 even if you're on an IPv6 connection.
Contents
Setup and use
If you are familiar with VPN setup, the basic connections details are in the table to the right. Step-by-step instructions for various operating systems follow.
Windows 7
These instructions were written for Microsoft Windows 7. They may or may not be easily applicable to other versions of Windows.
First-time setup
- Open the Network and Sharing Center
- Under Change your networking settings, click Set up a new connection or network
- In the wizard that appears, select Connect to a workplace: Set up a dial-up or VPN connection to your workplace and click Next.
- If asked "Do you want to use a connection that you already have?", select No, create a new connection and click Next.
- Click Use my Internet connection (VPN)
- At the Internet address prompt, enter
ipv4.ridley.fastlizard4.org
. - At the Destination name prompt, enter
LizardVPN
- Check the checkbox Don't connect now; just set it up so I can connect later. Check or uncheck the other two boxes as you wish, though do not check "Use a smart card" if you don't know what you're doing.
- You will now be prompted to "Type your username and password". Enter your SSH login username at Username, but leave all other fields and checkboxes blank/unchecked, and click Create.
- If you've done everything correctly, you'll see "The connection is ready to use". Click Close; do not click "Connect now".
- Now, click the networking icon in your system tray to open the Connect to menu
- Under Dial-up and VPN, click LizardVPN, then Connect
- In the dialog box that appears, click Properties
- Go to the Security tab
- Under Type of VPN, select Layer 2 Tunneling Protocol with IPSec (L2TP/IPsec) in the dropdown menu, then click Advanced settings
- Tick the radio button Use preshared key for authentication, and in the text box Key enter
LIZARDNETIPSECVPN2005
. Click OK. - Under Data encryption, select Maximum strength encryption (disconnect if server declines) from the dropdown menu.
- Under Authentication, make sure that the Allow these protocols radio button is ticked, and ensure that Unencrypted password (PAP) is checked.
- Make sure that Automatically use my Windows logon name and password (and domain, if any) is unchecked.
- Click OK to go back to the "Connect LizarVPN" dialog box and continue in the next section ("Logging in").
Logging in
- If you haven't already, open the "Connect LizardVPN" dialog box by:
- Clicking the networking icon in your system tray to open the Connect to menu
- Under Dial-up and VPN, click LizardVPN, then Connect
- In the "Connect LizardVPN" dialog box, enter your SSH login username for User name if it isn't there already. Ensure that Domain is blank.
- Get a two-factor auth token from your two-factor code app.
- For Password, enter your SSH login password immediately followed by the token you got in the previous step.
- For example, if your SSH login password is
p@ssword
and the token your app gave you is123456
, then you'd enterp@ssword123456
as your password in the dialog box.
- For example, if your SSH login password is
- Click Connect
- If everything works, the dialog box indicating connection status will disappear. Visit http://myip.dk, and if you're connected, you should see ridley.fastlizard4.org appear on the page!
Disconnecting
- To disconnect, click the networking icon in the system tray again to open the Connect To menu
- Under Dial-up and VPN, select LizardVPN and click Disconnect.
iOS (including iPhone, iPod Touch, and iPad)
Note: These guides were written using an iPad 2 running iOS 6.1. Depending on your device and iOS version, the instructions may differ slightly.
First-time setup
Note: You may use the image to the right as a reference.
- Open the Settings app.
- Go to General> VPN and select Add VPN Configuration... if the "Add configuration" dialog doesn't open automatically when you open VPN settings.
- Select L2TP at the top, and enter the following:
- Description: LizardVPN
- Server: ipv4.ridley.fastlizard4.org
- Account: your SSH login username
- RSA SecurID: OFF
- Password: leave blank
- Secret: LIZARDNETIPSECVPN2005
- Send All Traffic: ON
- Make sure Proxy is Off, then hit Save in the upper-right corner.
- LizardVPN: Custom should now appear under Choose a Configuration; ensure that it is checked (if it isn't, simply tap it).
- Continue in the next section to connect!
Logging in
- Open the Settings app.
- Under the Bluetooth toggle (in the left-hand column on iPads, or at the top of the Settings screen on iPod Touches/iPhones), there is a new VPN item. If LizardVPN is your only VPN, simply hit the switch to begin connection! Otherwise, selecting it will take you to the VPN menu. Make sure that LizardVPN: Custom is checked, and toggle the VPN switch at the top of the screen.
- You'll be prompted for your password. Enter your SSH login password immediately followed by your two-factor auth token.
- For example, if your SSH login password is
p@ssword
and the token your app gave you is123456
, then you'd enterp@ssword123456
as your password in the dialog box. - Note: If your authenticator app is on the same device that you're trying to VPN from, you might have to juggle a little. I, using my iPad, was able to enter my password at the password prompt, switch to my authenticator app to get my two-factor auth code, then switch back to Settings to finish entering my password and code and connect to the VPN. Others (on iPod Touches and iPhones) were not able to do the same; instead, one should first check their authenticator app and get a two-factor auth code, then switch to Settings, then start the VPN connection and enter the two-factor auth code first while it's still fresh, then moving the cursor to the start of the password prompt and entering your password.
- Hit Done in the upper-right corner.
- For example, if your SSH login password is
- If it works, the VPN toggle will change to "ON"! Visit http://myip.dk in your browser, and you should see ridley.fastlizard4.org!
Disconnecting
- Return to the Settings app.
- Hit the VPN toggle again to change it from "ON" to "OFF". You have successfully disconnected.
macOS
These instructions were written based on macOS 10.13 (High Sierra). Specifics may vary from version to version.
- Open System Preferences, then click on Network under Internet & Wireless.
- If not done already, click the lock icon at the bottom left of the screen and authenticate using your administrator username and password.
- At the bottom of the left pane containing the list of network connections, press the (+) symbol.
- In the dropdown dialog that appears, open the Interface dropdown menu and select VPN.
- If the VPN Type has not been set to L2TP over IPSec, open the dropdown menu and select that option.
- Assign the VPN a Service Name (LizardVPN is appropriate, although you can take poetic license with this one).
- After selecting the options for the above step, click Create.
- Select LizardVPN (or whatever Service Name you entered) from the left pane (NOTA BENA: On my system it switches the righthand configuration box to LizardVPN on creation but does not change the selection in the left pane. I assume that is a bug, but if it doesn't display "Status: Not Configured" in the righthand pane, select the network connection).
- For the Server Address field, enter ipv4.ridley.fastlizard4.org.
- For the Account Name, enter your SSH login username.
- Click on the Authentication Settings... button.
- Under the field Machine Authentication, the Shared Secret radio button should be selected. In the adjacent field, enter LIZARDNETIPSECVPN2005. Afterwards, click OK (do not enter a password).
- In the bottom right corner, click Advanced....
- Check the Send all traffic over VPN connection checkbox. Next, click OK.
- Optional: If you wish, you may check the Use verbose logging checkbox. This saves all VPN logs to /var/log/ppp.log, which can be accessed using the Terminal nano and vim editors.
- Click Apply in the bottom right corner to save your connection.
- Optional, but highly recommended: Check the Show VPN status in menu bar checkbox to show a VPN menu that can be accessed through the menu bar.
Logging in
- Click the Connect button in System Preferences, or the Connect LizardVPN under the menu bar VPN dropdown.
- In the dialog box that appears, enter your SSH login password followed immediately by your six-digit two-factor authentication code in the field Please enter your password.
- If all goes well, the VPN should authenticate and "Status: Connected" should appear in the settings pane, and a timer displaying how long you've connected to LizardVPN should appear in the menu bar. Congratulations! You're connected!
- NOTA BENA: Please remember to relock System Preferences after completing setup.
Disconnecting
- Click the Disconnect button in System Preferences, or the Disconnect LizardVPN button in the menu bar dropdown. You are now disconnected.