# Local device access with ipv6 only (no ipv4) ( wireguard , unbound and pihole)

**URL:** <https://discourse.pi-hole.net/t/local-device-access-with-ipv6-only-no-ipv4-wireguard-unbound-and-pihole/68178>\
**Category:** Customizing Pi-hole\
**Created:** [February 7, 2024, 12:14pm UTC](https://discourse.pi-hole.net/t/local-device-access-with-ipv6-only-no-ipv4-wireguard-unbound-and-pihole/68178 "2024-02-07T12:14:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![slim](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/slim/32/36865_2.png) [@slim](https://discourse.pi-hole.net/u/slim)\
**Post date:** [February 7, 2024, 12:14pm UTC](https://discourse.pi-hole.net/t/local-device-access-with-ipv6-only-no-ipv4-wireguard-unbound-and-pihole/68178/1 "2024-02-07T12:14:53Z")

</div>

Hello,  
Ive followed the pihole documentation to configure wireguard and unbound, but I have noticed that i cant access the pihole interface with my phone via the ipv4 address, it works only with the ipv6 address.  
I have added the `access-control: 192.168.1.0/24 allow` to unbound as [Blockhead](https://discourse.pi-hole.net/u/Blockhead) mentionned. It helped me fix the issue that he was talking about but i still have the ipv4 local device access issue.

---

<div class="post-metadata">

**Author:** ![CallMeCurious](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/c/c4cdca/32.png) [@CallMeCurious](https://discourse.pi-hole.net/u/CallMeCurious)\
**Post date:** [February 7, 2024, 12:35pm UTC](https://discourse.pi-hole.net/t/local-device-access-with-ipv6-only-no-ipv4-wireguard-unbound-and-pihole/68178/2 "2024-02-07T12:35:26Z")

</div>

You can check to see if the pihole is listening for port 80 on ipv4 but using the command in a pihole terminal:

`sudo ss -4tpln`

You should see lighttpd listening on 0.0.0.0:80 for ipv4.

If that looks right then make sure the firewall is not blocking port 80 ( if you have a firewall on the running on the pi ).

---

<div class="post-metadata">

**Author:** ![slim](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/slim/32/36865_2.png) [@slim](https://discourse.pi-hole.net/u/slim)\
**Post date:** [February 8, 2024, 5:54pm UTC](https://discourse.pi-hole.net/t/local-device-access-with-ipv6-only-no-ipv4-wireguard-unbound-and-pihole/68178/3 "2024-02-08T17:54:50Z")

</div>

it seems that pihole isnt blocking ipv4 addresses since i can ping them from my raspberry.  
I'm suspecting a potential issue with my iphone, maybe ios is blocking ipv4 ips when im using the 4g.  
i'll try to use another device (pc probably) to see if i still have this issue. i'll post my feedback when its done.

---

<div class="post-metadata">

**Author:** ![Bucking\_Horn](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/bucking_horn/32/18719_2.png) [@Bucking\_Horn](https://discourse.pi-hole.net/u/Bucking_Horn)\
**Post date:** [February 9, 2024, 2:05pm UTC](https://discourse.pi-hole.net/t/local-device-access-with-ipv6-only-no-ipv4-wireguard-unbound-and-pihole/68178/4 "2024-02-09T14:05:56Z")

</div>

> [@slim](#):
>
> but I have noticed that i cant access the pihole interface with my phone via the ipv4 address, it works only with the ipv6 address.  
> I have added the `access-control: 192.168.1.0/24 allow` to unbound

unbound has nothing to do with Pi-hole's web server, currently lighttpd.

> [@slim](#):
>
> it seems that pihole isnt blocking ipv4 addresses

Pi-hole is not blocking any IP addresses - it only ever blocks domains.

Please share the exact URL you are using to access Pi-hole's UI, along with any error messages.
