wiki:wireguard

Version 2 (modified by krit, 4 months ago) (diff)

--

Wireguard Open_WRT client

File in /etc/config/network

root@OpenWrt:/etc/config# tail -15 network 

config interface 'wg0'
        option proto 'wireguard'
        option private_key 'kMtWcqDKWPBpZtZMotZhK7ebgYhHdsE5ZQ5DbjxTeEs='
        list addresses '10.20.0.13/32'

config wireguard_wg0
        option description 'wg_chr'
        option public_key 'a1vzyij5prL27dz/0lcUmMR5BPEh7KRqCvMMcPIeUB0='
        list allowed_ips '10.20.0.0/24'
        option route_allowed_ips '1'
        option endpoint_host '15x.6xx.1xx.xx2'
        option endpoint_port '12345'
        option persistent_keepalive '25'

root@OpenWrt:/etc/config# 

Attachments (3)

Download all attachments as: .zip