[BackupPC-users] Web access restrictions and IPv6
2017-05-25 20:46:54
In case anyone else has this problem....
I suspect a Win10 update changed the way my web client (Chrome) accesses my
Linux Apache server, favoring IPv6 over IPv4. I'd originally configured it
to allow connections from my LAN's IPv4 prefix and all worked fine. This
week (after a couple weeks of not checking) I found I couldn't connect. I
traced it down to the connection coming from my link local IPv6 address. So
I needed to add an extra Require stanza to my Apache config. If your
error_log shows connections refused from addresses starting with fe80,
you've run into this issue.
From /etc/httpd/conf.d/BackupPC.conf:
AuthType Basic
AuthUserFile /etc/BackupPC/apache.users
AuthName "BackupPC"
<IfModule mod_authz_core.c>
# Apache 2.4
<RequireAll>
Require valid-user
<RequireAny>
Require local
# allow from my LAN IPv4 block
Require ip 10.0.0.0/8
# ADD THIS for IPv6 link local connections!
Require ip fe80::/16
</RequireAny>
</RequireAll>
</IfModule>
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [BackupPC-users] Web access restrictions and IPv6,
Kenneth Porter <=
|
ADSM.ORG Privacy and Data Security by KimLaw, PLLC
|