Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Dmonroe

#1
Second screenshot because they both wouldn't fit on one post
#2
24.7, 24.10 Legacy Series / Can't ping ipv6 WAN externally
September 15, 2024, 12:19:14 AM
Hello, I have an issue where I can't access my ipv6 WAN address externally. I have verizon FIOS, they don't provide me with a WAN address so I'm using the new WAN track interface ability to assign it out of the /56 verizon gives me. This works and the WAN assigns itself an address and I can even ping that address from inside my network, however when I try to ping that address from outside or connect to the wireguard instance running on it, I get no reply. I have a firewall rule passing all ipv6 ICMP traffic externally and I can successfully ping my LAN ipv6 interface address from externally, so the rule is working, I don't get why its not working specifically for my new WAN address.
#3
22.7 Legacy Series / Re: ipv6 wireguard Nat help
August 08, 2022, 02:06:40 AM
Quote from: Maurice on August 08, 2022, 01:55:23 AM
Ah okay, then your ISP leaves the WAN interface unnumbered. Not a very common configuration, but not unheard of.

As a workaround, try switching 'Translation / target' in your NAT rule to 'LAN address'. 'Interface' needs to remain 'WAN'.

It works! thank you so much! i would never in a million years have managed to figure that out on my own.
#4
22.7 Legacy Series / Re: ipv6 wireguard Nat help
August 08, 2022, 01:46:06 AM
Quote from: Maurice on August 08, 2022, 01:26:25 AM
The WAN interface is the issue. As you can see, it doesn't have an IPv6 address. So the NAT rule has no address which it could use as a translation target.

Did you by any chance enable "Request only an IPv6 prefix" in the WAN interface settings?

Yes! Because the instructions I followed ( https://forum.netgate.com/topic/155534/verizon-fios-and-ipv6-which-settings-work/2?lang=en-US ) told me to. incidentally, I just tried unchecking that option and my router failed to get any ipv6 at all from Verizon.
#5
22.7 Legacy Series / Re: ipv6 wireguard Nat help
August 08, 2022, 01:19:05 AM
Quote from: Maurice on August 08, 2022, 12:07:54 AM
@Dmonroe, no worries, life is always more important! :)

fda6:4040:2c9a:d657::/64 actually is a valid IPv6 address, although a special one. The lowest address in an IPv6 subnet is the subnet router anycast address. I wouldn't use that here either, so as @Greelan suggested, better use fda6:4040:2c9a:d657::1/64 or something like this.

No idea whether this is the root cause of the NAT issue. If it isn't, you might want to try manually entering the source network for the outbound NAT rule. Also, does your WAN interface have a GUA?

Cheers
Maurice

Thanks, for the advice, I've changed the tunnel address so it ends in ::1 and changed the NAT rule to specify the wireguard network specifically, and the issue persists. I don't know how to tell if my wan has a GUA, so I've attached screenshots of the new NAT config and my WAN interface from the overview section.
#6
22.7 Legacy Series / Re: ipv6 wireguard Nat help
August 07, 2022, 08:05:33 PM
Additional Screenshots
#7
22.7 Legacy Series / Re: ipv6 wireguard Nat help
August 07, 2022, 08:04:24 PM
Quote from: Maurice on August 04, 2022, 01:53:59 AM
In general, IPv6 outbound NAT works with DHCPv6 WANs. Quite a few people use this. If the behaviour mentioned in the 2019 thread actually was a bug, it probably has been fixed at some point. There was a bug in 22.7, but that has been fixed in 22.7_4: https://github.com/opnsense/changelog/blob/master/community/22.7/22.7#L142

Your issue might be specific to WireGuard or your config. Can you post your wg tunnel address and allowed IPs?

Cheers
Maurice

Hello, sorry it took so long to get back to you, life happened pretty much immediately after I posted this. I'm attaching screenshots my wireguard server, client, and firewall settings over a couple posts, and the client successfully connects to the server so I don't think that can be the problem? The firewall has a bunch of adblocking rules that I've disabled to make sure they weren't the problem, the only current rule is the allow everything one. Thanks in advance.
#8
22.7 Legacy Series / ipv6 wireguard Nat help
August 03, 2022, 06:09:12 PM
Hello, I'm trying to convert as much of my network as I can to ipv6-only. Right now I'm trying to convert my wireguard server to use ipv6 addresses, and I've run into a problem. I get my prefix via DHCPv6 from my ISP, so they can change it at any time, and my clients connect to the server using dynamic dns. Wireguard, however, requires that the clients have static addresses, which makes sense, because the server would have no way to tell the client it's new address when it's trying to establish a connection. The way around this, and also how wireguard works with ipv4, is to have a static internal network and use NAT to connect to the internet, which is what I'm trying to set up with wireguard using ipv6. However, it seems that ipv6 NAT does not currently work. I can successfully ping machines on my LAN over ipv6 from a wireguard client, and I can sucessfully ping ipv4-only internet hosts via tayga, but when I try to ping ipv6 hosts on the internet it doesn't go through. Googling found this: https://forum.opnsense.org/index.php?topic=13896.0 from 2019 which seems to be the same problem and has no resolution. Is there any way to get this working, or am I stuck using ipv4 for wireguard? Attached is a screenshot of my outbound NAT settings.
Thanks in advance.
#9
22.1 Legacy Series / Re: Tayga help
May 22, 2022, 06:44:14 PM
Quote from: mimugmail on May 22, 2022, 06:19:42 AM
https://github.com/opnsense/plugins/issues/2094

Can you check against this please?

Thank you very much, It's working now.
#10
22.1 Legacy Series / Re: Tayga help
May 22, 2022, 12:37:08 AM
Here are the other two configuration screenshots, they didn't all fit in one post.
#11
22.1 Legacy Series / Tayga help
May 22, 2022, 12:36:33 AM
Hello, I'm trying to set up nat64 using tayga so my ipv6 devices can reach ipv4 addresses. I followed the setup instructions in the documentation, https://docs.opnsense.org/manual/how-tos/tayga.html, but tayga still refuses to start. I've attached screenshots of my configuration to the post, can anyone see what I'm doing wrong? thanks in advance.