Jump to content
Not connected, Your IP: 216.73.217.99
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...