Jump to content
Not connected, Your IP: 18.222.240.21
Affenkopf

Wireguard on Openwrt Router

Recommended Posts

Hi everyone,

i want to use the Wireguard Protocol from AirVPN on a Openwrt Router behind my ISP Router. Is there any Guide for this solution? I found many Guides from other VPN Services but it doesn't work for me.

Can anybody help me with this problem?

Share this post


Link to post

Hello!

The proper guide is this one: https://openwrt.org/docs/guide-user/services/vpn/wireguard/client

Keep a profile generated by the Configuration Generator, according to your preferences, available (it's just a text file). From it, you can find the settings for the initial configuration:

WG_IF="vpn"
WG_SERV="SERVER_ADDRESS" <-- the VPN server address you see in the "Endpoint" entry
WG_PORT="1637" <-- you can see it in the "Endpoint" entry
WG_ADDR="..." <-- the IPv4 address you find in the profile "Address" entry
WG_ADDR6="..." <-- the IPv6 address you find in the profile "Address" entry
Skip the "Key management" section. In our system your WireGuard key is generated by our infrastructure.

In the same file you also find the public key, the pre-shared key and the DNS server address that you will need to complete the configuration, respectively in the PublicKey entry, the PresharedKey entry and the DNS entry.

Kind regards
 

Share this post


Link to post

If your familiar with nano under SSH or WInscp? You can edit the follow files.

1st`

On 2/15/2023 at 9:43 AM, Staff said:

Keep a profile generated by the Configuration Generator, according to your preferences, available (it's just a text file). From it, you can find the settings for the initial configuration: 


then

nano /etc/config/network
config interface 'vpn'
    option proto 'wireguard'
    list addresses 'YOUR Address found in .conf file'
    option private_key 'PrivateKey'

config wireguard_vpn
    option public_key 'PublicKey'
    option preshared_key 'PresharedKey'
    list allowed_ips '0.0.0.0/0'
    option endpoint_host 'AIRVPN SERVER IP found in .conf file'
    option endpoint_port '1637'
    option persistent_keepalive '15'
    option description 'AirVPN'

config device
    option name 'vpn'
    option multicast '0'



 

Share this post


Link to post
Posted ... (edited)
On 2/15/2023 at 2:12 PM, Affenkopf said:

Hi everyone,

i want to use the Wireguard Protocol from AirVPN on a Openwrt Router behind my ISP Router. Is there any Guide for this solution? I found many Guides from other VPN Services but it doesn't work for me.

Can anybody help me with this problem?

Have you found the guide? Edited ... by DawnTurnage

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...