Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Virtual private networks
»
Wireguard, both ipv4 and ipv6 on the same tunnel?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Wireguard, both ipv4 and ipv6 on the same tunnel? (Read 2551 times)
depeo
Newbie
Posts: 10
Karma: 0
Wireguard, both ipv4 and ipv6 on the same tunnel?
«
on:
November 17, 2021, 11:21:57 am »
Hello,
Is it possible to add both IPV4 and IPV6 gateways on the same tunnel?
I can add both ipv4 and ipv6 under Tunnel address, but under gateway(have disabled routing) I can only add either the ipv4 gw or the ipv6 gw, not both?
Can this be fixed so its possible to add both gateway addresses? I'm talking about the gateway box in the attached image.
I have solved this by adding 2 tunnels but that's not great because the port forward get different ports on ipv4 and ipv6 from Mullvad if using multiple tunnels.
«
Last Edit: November 17, 2021, 11:23:56 am by depeo
»
Logged
Greelan
Hero Member
Posts: 1028
Karma: 72
Re: Wireguard, both ipv4 and ipv6 on the same tunnel?
«
Reply #1 on:
November 17, 2021, 11:41:46 am »
It’s not possible to do it currently in the plugin GUI, but you can achieve it anyway:
https://docs.opnsense.org/manual/how-tos/wireguard-selective-routing.html#configuring-ipv6
Logged
depeo
Newbie
Posts: 10
Karma: 0
Re: Wireguard, both ipv4 and ipv6 on the same tunnel?
«
Reply #2 on:
November 17, 2021, 11:52:41 am »
Oh I see, I'll try it! Thanks!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Virtual private networks
»
Wireguard, both ipv4 and ipv6 on the same tunnel?