• Home
  • Download
  • Pricing
  • Buy Additional Devices
  • article Help down-arrow down-arrow
    • Getting Started
    • Redeem code
      How to apply/redeem a code?
    • Logs
      Do you store any logs?
    • Payment
      What payment methods do you accept?
  • Login/Register
  • widgets VPN Setup Tutorials
    How to install and use RealVPN on iOS
  • grade Features
    How to find the best server Do you store any logs? RealVPN Features Our Jurisdiction
  • payments Billing and Payments
    How to apply/redeem a code? What is your money-back policy? What payment methods do you accept? I have purchased a RealVPN subscription but my account is still in Free mode Is my account linked with my payment? What is a RealVPN subscription? How to cancel a recurring payment How to purchase a RealVPN subscription If I sign up for 1 month, can I upgrade later? What to do if you did not receive an activation email? Do you keep users' account details? How can I delete my RealVPN account? I have just paid. Will I be charged again? Why my recurring payment was not charged?
  • cable Connectivity
    How to Get Manual VPN Config Connecting VPN on ASUS Router Using OpenVPN Protocol Setting and Managing an OpenVPN Connection (Windows) Setting and Managing an IPSec IKEv2 Connection (Android) Setting an IPSec IKEv2 Connection (MS Windows) Setting an IPSec IKEv2 Connection (macOS) Connecting the IKEv2 on macOS Disconnecting the IKEv2 on macOS Connecting the IKEv2 on Windows 10 Disconnecting the IKEv2 on Windows 10 Setting and Managing an IPSec IKEv2 Connection (Ubuntu/Debian Linux) Why we have discontinued L2TP and PPTP protocols?

Setting and Managing an IPSec IKEv2 Connection (Ubuntu/Debian Linux)

To install and use RealVPN service on your Linux computer, please follow the steps below:

  1. Open Terminal. Input sudo apt-get install network-manager-strongswan and hit Enter.
  2. Now open Settings - Network and click the + button next to the VPN then select IPsec/IKEv2

  3. Now input your specific VPN settings from the https://realvpn.io/settings in the opened dialog as shown in the image below.

  4. Use the switch to enable VPN connection.

In case you have issues with the default gateway on your Linux, use the following instructions.

Edit /etc/netplan/50-cloud-init.yaml (or other yaml file you find in /etc/netplan/)

network:

renderer: NetworkManager # add this line

ethernets:

enp2s0:

dhcp4: true

version: 2

And then run sudo netplan apply

Well, you will need to edit some files, and you will be ready to go.

  1. sudo nano /etc/NetworkManager/NetworkManager.conf

    Change managed=false to managed=true

  2. sudo nano /usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf

    Add except:type:ethernet to this line: unmanaged-devices=*,except:type:wifi,except:type:wwan

    Restart network manager:sudo service network-manager restart

main_logo
RealVPN
Company
  • About Us
  • Roadmap
Downloads
  • VPN for macOS
  • VPN for iOS
  • VPN for AppleTV
  • VPN for Android
  • VPN for Android TV
  • VPN for Chrome Browser
  • VPN for Edge Browser
  • VPN for Opera Browser
Help & Support
  • Contact Us
  • Knowledge Center
Legal
  • Terms & Conditions
  • Privacy Policy


Security Tech OÜ
Sepapaja tn 6, 15551 Tallinn, Harju Maakond, Estonia
All rights reserved. Copyright © All photo and video materials, as well as logos are belong to their respective owners.