Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Virtual private networks
»
wireguard client connect one server with two ISP
« previous
next »
Print
Pages: [
1
]
Author
Topic: wireguard client connect one server with two ISP (Read 731 times)
renatolsxc
Newbie
Posts: 1
Karma: 0
wireguard client connect one server with two ISP
«
on:
March 11, 2023, 11:45:13 am »
Hello everybody!
My scenario is as follows:
I have 1 server which is the vpns hub. For this server I have 2 internet links from different internet link operators.
I want to connect 70 remote computers to the server described above.
On one of the remote computers I've already done all the configuration successfully. see below.
[Interface]
PrivateKey = ELvkNS
Address = 10.28.12.3/32, 10.29.12.3/32
DNS = 192.168.100.254, 1.1.1.1
[Peer]
PublicKey = 6TYMXm
AllowedIPs = 192.168.100.0/24, 10.0.0.0/16
Endpoint = isp1.ddns.net:52008
PersistentKeepalive = 25
The problem I need help with is:
add a second endpoint so that ISP2 automatically wakes up when ISP1 fails. Something like this setup
[Interface]
PrivateKey = ELvkNS
Address = 10.28.12.3/32, 10.29.12.3/32
DNS = 192.168.100.254, 1.1.1.1
[Peer]
PublicKey = 6TYMXm
AllowedIPs = 192.168.100.0/24, 10.0.0.0/16
Endpoint = isp1.ddns.net:52008, isp2.ddns.net:52008
PersistentKeepalive = 25
it is possible?
I anticipate my thanks.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Virtual private networks
»
wireguard client connect one server with two ISP