T
T
t924bm2020-11-05 12:10:01
linux
t924bm, 2020-11-05 12:10:01

What ip to enter in the wg0.conf (Wireguard) config in the Address field?

I am studying setting up Wireguard on the server and I don’t understand which ip to enter in Address?
The address of the vps itself? Or maybe some kind of internal, if so, how to recognize it?
AllowedIPs also .. what to write?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Dmitriev, 2020-11-05
@t924bm

The subnet is entered into the Address, the addresses from which will be issued by the wireguard interface on the server and the wireguard client upon connection - the transport network.
AllowedIPs are the addresses that are allowed to connect to the Wireguard server on your peer.
If you want not to limit, put - 0.0.0.0/0

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question