The problem is getting incoming IPv6 connections to BinkD etc. to work.
I have UFW as the firewall, I have enabled IPv6 in the UFW config
settings and added ports like 24554 which when I check the status I can see the port is enabled for both IPv4 and IPv6
To Action From
-- ------ ----
24554/tcp ALLOW Anywhere 24555/tcp ALLOW Anywhere 24554/tcp (v6) ALLOW Anywhere (v6) 24555/tcp (v6) ALLOW Anywhere (v6)
My router has port forwarding enabled from the WAN to the static IPv4 on the Debian box and certainly for IPv4 traffic all is good.
I'm stuck as to know why I can't seem to get ports open for my IPv6 address when I have UFW seemingly enabled.
Now the Pi that acts as the end point of the tunnel has a static IPv4
and IPv6 address perhaps I need to enable something in UFW for that address(ess)?
I'm also wondering if it's something to do with the tunnel stuff.
But it feels like I'm 90%+ sorted as I know the Debian box can happily poll outbound BinkD traffic without issue.
Any help appreciated.
$ sysctl net.ipv6.conf.all.forwarding
net.ipv6.conf.all.forwarding = 0
If you get a 0 it's not enabled, so enable it with;
$ sudo sysctl -w net.ipv6.conf.all.forwarding=1
Then run that previous command again to check that it's enabled, then "hopefully" you should be good, of course it may already be enabled and this is not a valid suggestion, but it's what's comming to my mind just now.
Have you verified that traffic isn't already getting to the system it needs to, just there's another firewall on that system? with IPv6 if I'm not mistaken it has a more direct path to the system rather than a standard kind of NAT through the router/firewall?
Maybe run tcpdump on the target system to see if any packets of data hit it, and then you could know 100% whether they're making it there, and getting filtered on the target system, or if not, you could trace it
back to the firewall or the router.
Have you verified that traffic isn't already getting to the system it needs to, just there's another firewall on that system? with IPv6 if I'm not mistaken it has a more direct path to the system rather than a standard kind of NAT through the router/firewall?
Also check the IPv6 endpoint system has forwarding enabled, i.e. your
IPv6 debian host;
$ sysctl net.ipv6.conf.all.forwarding
are you talking about the HUB that I am trying to allow systems to reach via IPv6 or the Raspberry Pi tunnel He.Net endpoint that is on the same LAN?
On 12 Oct 2021 at 03:52p, Avon pondered and said...
are you talking about the HUB that I am trying to allow systems to re via IPv6 or the Raspberry Pi tunnel He.Net endpoint that is on the sa LAN?
Just confirming the Raspberry Pi tunnel has the =1 setting for this command already
Yes I was meaning the Raspberry Pi. So from your tests, you can see traffic getting to the box with the firewall off and on, but only a limited set of UDP packets, and the routing is correctly set for IPv6 on the Raspberry Pi.
Sadly I feel like I'm just thrashing around not really making any clear progress as I know not enough about linux nor all the tools but have been trying.
On the Edgerouter I just have a NAT rule to pass traffic destined for
24554 on to the local LAN IPv4 address of the Debian box and port 24554
There seemed to be options to allow protcol 41 to be specified (as some have suggested to me this may be an issue) but I can't state a port and such a protocol in the NAT rules, rather I must state tcp and/or udp when specifying a port.
Avon wrote to MeaTLoTioN <=-
If you're using UFW firewalling, insure on IPV4 you allow "protocol"
(not port!) 41 Often people get these confused.
n1uro@n1uro:~$ cat /etc/protocols | grep 41
ipv6 41 IPv6 # Internet Protocol, version 6
I know this feeling, especially with Linux where stuff is different between distributions. There is always some new component that is
I have no experience with IPv6 tunneling, but I also would suspect that the router might do some filtering.
Yes I was meaning the Raspberry Pi. So from your tests, you can see traffic getting to the box with the firewall off and on, but only a limited set of UDP packets, and the routing is correctly set for IPv6 on the Raspberry Pi.
Finally solved this (I hope) it was some missing forwarding rules in
the ip6tables on the Pi. Talk about chasing my tail. When I finally
ended up looking there I could quickly see a FORWARD rule to the new
IPv6 static IP I have set on the Debian box was missing.
Congratulations!
I've been there, when your mind thinks the problem is somewhere but it turns out to be somewhere else entirely.
Finally solved this (I hope) it was some missing forwarding rules in the ip6tables on the Pi. Talk about chasing my tail. When I finally
I've been there, when your mind thinks the problem is somewhere but it turns out to be somewhere else entirely.
What I used to hate was banging my head against a problem for hours
Spectre wrote to apam <=-
Finally solved this (I hope) it was some missing forwarding rules in the ip6tables on the Pi. Talk about chasing my tail. When I finally
I've been there, when your mind thinks the problem is somewhere but it turns out to be somewhere else entirely.
What I used to hate was banging my head against a problem for hours refusing to stop until I fuigure it out, end up having to take a break.
Re-cover all the previous ground, and with no apparent changes it
decides to work.
Sysop: | sneaky |
---|---|
Location: | Ashburton,NZ |
Users: | 31 |
Nodes: | 8 (0 / 8) |
Uptime: | 123:07:48 |
Calls: | 2,073 |
Files: | 11,135 |
Messages: | 947,358 |