Skip to content

Commit

Permalink
Merge pull request #426 from eduvpn/feature/fixes
Browse files Browse the repository at this point in the history
Add allowed IPs
  • Loading branch information
dzolnai authored Jul 30, 2024
2 parents a361bfd + 11d23ee commit 3028856
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ class WireGuardService(private val context: Context, timer: Flow<Unit>): VPNServ
.addPeers(
config.peers.map {
val builder = Peer.Builder()
.addAllowedIps(it.allowedIps)
.setPublicKey(it.publicKey)
.setPersistentKeepalive(25)
it.endpoint.getOrNull()?.let { endpoint ->
Expand Down

0 comments on commit 3028856

Please sign in to comment.