Preskoči na sadržaj

Kako postaviti OpenVPN na OpenWrt

Detaljno objašnjavamo kako postaviti VPN povezivost

Trustpilot 4.5 od 5

Video uputstva

Slijedite korake u ovom videu i postavite hide.me VPN u par minuta

Ne vidite video? Kliknite ovdje

Upute korak-po-korak

  • *

    Please note that OpenVPN protocol for our free members is only available through our native hide.me VPN clients so this guide will only work for hide.me members with Premium subscription.

  • 1

    This tutorial assumes you have LuCI installed (GUI for OpenWRT) and that you have SSH access to your router (if you don't, install dropbear package.)

    Connect to your router via SSH protocol using Putty or Terminal app. The default IP address is usually 192.168.1.1.
    Execute the following commands:
    opkg update && opkg install luci-app-openvpn openvpn-easy-rsa openvpn-openssl

    1

  • 2

    Download OpenVPN configuration file from the members area. Click on "+ More details" next to the server you want to connect to and click on "Linux" under "OpenVPN Configuration".

    2

    After the software finishes installing go to new top menu item VPN -> OpenVPN

    If you haven't already, delete the connections installed by default.
    Type in the name of new OpenVPN instance (for example: hide.me US-East), browse for the .ovpn file you downloaded and click Upload.
    Any special characters will be automatically stripped from the name.

    2

    Click on Edit to see the VPN connection details, and to enter your credentials.

    2

    In the bottom empty field, enter your hide.me credentials, each on new line.
    Copy the auth-user-pass path in brackets (shown in red in the picture) and paste it next to the auth-user-pass option in the OVPN config.
    Press Save, and click on VPN -> OpenVPN in OpenWRT menu.
    Press Save & Apply.

    2

  • 3

    You have finished the VPN configuration now, but you still need to configure the interface as well as the Firewall.

    From the top menu go to Networking -> Interfaces.
    Click the Add new interface… button.
    Name: hideme_vpn
    Click on Interface and write tun0 in the textbox, and press enter.
    Click on Create interface button.

    3

    This will open additional settings.

    Make sure there is a checkmark on Bring up on boot
    Click on Save

    Click on Save & Apply in the Interfaces screen

    3

  • 4

    Now, in top menu, go to Network -> Firewall.
    Scroll to the bottom of the screen to the Zone section, and Add a new Zone.

    4

    In the General Settings tab, set name to hideme_fw, change Input to reject, Output to accept, Forward to reject.
    Put check mark on both Masquerading and MSS clamping
    Covered networks – select hideme_vpn
    In the Allow forward from source section, lan.

    Press Save

    4

    Press Save & Apply on Firewall - Zone settings

  • 5

    In the top menu, go to VPN -> OpenVPN. Set the checkbox Enabled for VPN connection you just created, and click Save & Apply.
    After the settings are saved, click Start button next to the VPN connection.

    Wait a few seconds for connection to establish.
    You can check here if you have successfully connected.

    5

Kontaktirajte podršku

Ako imate bilo kakvih problema, kontaktirajte naš Centar za podršku ili posjetite Bazu znanja.

Provjerite svoju povezivost

Provjerite svoju IP adresu
Provjerite svoju IP adresu

Pristupite našem alatu za provjeru IP adrese kako biste potvrdili jeste li povezani s našim VPN-om.

Provjeriti odmah

Provjerite ima li potencijalnog curenja
Provjerite ima li potencijalnog curenja

Pružamo alate kako bismo osigurali da VPN veza ne propušta vašu stvarnu IP adresu.

Provjeriti odmah

Rasprodaja za Crni petak

Uključuje dodatna 3 mjeseca

dana

h

m

s

Uzmi ponudu
Popričajmo!
Pitajte nas kako to radi