Ysurac / openmptcprouter

OpenMPTCProuter is an open source solution to aggregate multiple internet connections using Multipath TCP (MPTCP) on OpenWrt
https://www.openmptcprouter.com/
GNU General Public License v3.0
1.85k stars 266 forks source link

Can't access Pi-Hole #940

Closed xabix closed 4 years ago

xabix commented 4 years ago

Expected Behavior

Hello,

Not sure why but the service PiHole works but I can't connect to it anymore.

Logs says:

root@XabiX:~# tcpdump -i gt-tun0 port 80 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on gt-tun0, link-type RAW (Raw IP), capture size 262144 bytes 22:51:34.051887 IP 10.255.255.2.60595 > 10.255.255.1.http: Flags [S], seq 1467308288, win 64240, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0 22:51:34.051998 IP 10.255.255.1.http > 10.255.255.2.60595: Flags [R.], seq 0, ack 1467308289, win 0, length 0 22:51:34.308763 IP 10.255.255.2.52581 > 10.255.255.1.http: Flags [S], seq 4053897110, win 64240, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0 22:51:34.308853 IP 10.255.255.1.http > 10.255.255.2.52581: Flags [R.], seq 0, ack 4053897111, win 0, length 0 22:51:34.583418 IP 10.255.255.2.17020 > 10.255.255.1.http: Flags [S], seq 1467308288, win 64240, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0 22:51:34.583492 IP 10.255.255.1.http > 10.255.255.2.17020: Flags [R.], seq 0, ack 1467308289, win 0, length 0

service pihole-FTL status

pihole-FTL.service - LSB: pihole-FTL daemon Loaded: loaded (/etc/init.d/pihole-FTL; generated) Active: active (exited) since Sun 2020-03-29 22:52:09 CEST; 2min 37s ago Docs: man:systemd-sysv-generator(8) Process: 3114 ExecStart=/etc/init.d/pihole-FTL start (code=exited, status=0/SUCCESS) Mar 29 22:52:09 XabiX systemd[1]: Starting LSB: pihole-FTL daemon... Mar 29 22:52:09 XabiX pihole-FTL[3114]: Not running Mar 29 22:52:09 XabiX su[3159]: (to pihole) root on none Mar 29 22:52:09 XabiX su[3159]: pam_unix(su:session): session opened for user pihole by (uid=0) Mar 29 22:52:09 XabiX pihole-FTL[3114]: FTL started! Mar 29 22:52:09 XabiX su[3159]: pam_unix(su:session): session closed for user pihole Mar 29 22:52:09 XabiX systemd[1]: Started LSB: pihole-FTL daemon.

cat /etc/pihole/setupVars.conf

WEBPASSWORD=xx PIHOLE_INTERFACE=gt-tun0 IPV4_ADDRESS=10.255.0.0/16 IPV6_ADDRESS=fe80::aff:ff01/64 QUERY_LOGGING=true INSTALL_WEB_SERVER=true INSTALL_WEB_INTERFACE=true LIGHTTPD_ENABLED=true BLOCKING_ENABLED=true DNSMASQ_LISTENING=single PIHOLE_DNS_1=9.9.9.9 PIHOLE_DNS_2=149.112.112.112 PIHOLE_DNS_3=1.1.1.1 PIHOLE_DNS_4=1.0.0.1 DNS_FQDN_REQUIRED=true DNS_BOGUS_PRIV=true DNSSEC=true CONDITIONAL_FORWARDING=true CONDITIONAL_FORWARDING_IP=192.168.1.109 CONDITIONAL_FORWARDING_DOMAIN=localdomain CONDITIONAL_FORWARDING_REVERSE=1.168.192.in-addr.arpa

I tried removing all the conditional forwarding lines but the same.

Mar 29 23:05:33 XabiX ss-server[22990]: remote recv: Connection reset by peer Mar 29 23:05:57 XabiX systemd[1]: Stopping LSB: pihole-FTL daemon... Mar 29 23:05:58 XabiX systemd[1]: session-c2.scope: Succeeded. Mar 29 23:05:59 XabiX pihole-FTL[6256]: . Mar 29 23:05:59 XabiX pihole-FTL[6256]: Stopped Mar 29 23:05:59 XabiX systemd[1]: pihole-FTL.service: Succeeded. Mar 29 23:05:59 XabiX systemd[1]: Stopped LSB: pihole-FTL daemon. Mar 29 23:05:59 XabiX systemd[1]: Starting LSB: pihole-FTL daemon... Mar 29 23:05:59 XabiX pihole-FTL[6292]: Not running Mar 29 23:05:59 XabiX systemd[1]: Started Session c3 of user pihole. Mar 29 23:05:59 XabiX pihole-FTL[6292]: FTL started! Mar 29 23:05:59 XabiX systemd[1]: Started LSB: pihole-FTL daemon. Mar 29 23:06:19 XabiX ss-server[22990]: remote recv: Connection reset by peer

Mar 29 14:40:27 dnsmasq[1350]: started, version pi-hole-2.80 cachesize 10000 Mar 29 14:40:27 dnsmasq[1350]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth DNSSEC loop-detect inotify dumpfile Mar 29 14:40:27 dnsmasq[1350]: DNSSEC validation enabled Mar 29 14:40:27 dnsmasq[1350]: configured with trust anchor for keytag 20326 Mar 29 14:40:27 dnsmasq[1350]: configured with trust anchor for keytag 19036 Mar 29 14:40:27 dnsmasq[1350]: warning: interface gt-tun0 does not currently exist Mar 29 14:40:27 dnsmasq[1350]: warning: interface gt-udp-tun0 does not currently exist Mar 29 14:40:27 dnsmasq[1350]: warning: interface gt-tun0 does not currently exist Mar 29 14:40:27 dnsmasq[1350]: using local addresses only for domain use-application-dns.net Mar 29 14:40:27 dnsmasq[1350]: using nameserver 192.168.1.109#53 for domain 1.168.192.in-addr.arpa (no DNSSEC) Mar 29 14:40:27 dnsmasq[1350]: using nameserver 192.168.1.109#53 for domain localdomain (no DNSSEC)

ifconfig

dsvpn0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 9000 inet 10.255.251.1 netmask 255.255.255.255 destination 10.255.251.2 inet6 fe80::1736:ca92:d64d:cca6 prefixlen 64 scopeid 0x20 inet6 64:ff9b::aff:fb01 prefixlen 96 scopeid 0x0 unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 500 (UNSPEC) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 6 bytes 456 (456.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 149.91.xx.Xx netmask 255.255.255.0 broadcast 149.91. inet6 2a07:abc4::1:f16 prefixlen 48 scopeid 0x0 inet6 fe80::a4ee:69ff:febf:dd8 prefixlen 64 scopeid 0x20 ether a6:ee:69:bf:0d:d8 txqueuelen 1000 (Ethernet) RX packets 13211545 bytes 1807418604 (1.6 GiB) RX errors 56724 dropped 0 overruns 0 frame 56724 TX packets 2140548 bytes 1353946301 (1.2 GiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

gt-tun0: flags=4561<UP,POINTOPOINT,RUNNING,NOARP,PROMISC,MULTICAST> mtu 1500 inet 10.255.255.1 netmask 255.255.255.252 destination 10.255.255.1 inet6 fe80::e0c6:e4ab:e110:270e prefixlen 64 scopeid 0x20 unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 500 (UNSPEC) RX packets 66795 bytes 9819359 (9.3 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 123199 bytes 116741202 (111.3 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

gt-udp-tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500 inet 10.255.254.1 netmask 255.255.255.252 destination 10.255.254.1 inet6 fe80::e26f:f0a:2421:33d9 prefixlen 64 scopeid 0x20 unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 500 (UNSPEC) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10 loop txqueuelen 1000 (Local Loopback) RX packets 68234 bytes 12903863 (12.3 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 68234 bytes 12903863 (12.3 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

mlvpn0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1444 inet 10.255.253.1 netmask 255.255.255.0 destination 10.255.253.1 inet6 fe80::1224:95f5:9a16:f2b3 prefixlen 64 scopeid 0x20 unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 500 (UNSPEC) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 24 bytes 1464 (1.4 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

omr-6in4-user0: flags=209<UP,POINTOPOINT,RUNNING,NOARP> mtu 1480 inet6 fe80::a00:1 prefixlen 126 scopeid 0x20 inet6 fe80::aff:ff01 prefixlen 64 scopeid 0x20 sit txqueuelen 1000 (IPv6-in-IPv4) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500 inet 10.255.252.1 netmask 255.255.255.255 destination 10.255.252.2 inet6 fe80::6db3:5167:40c7:c543 prefixlen 64 scopeid 0x20 unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 100 (UNSPEC) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 6 bytes 456 (456.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

tun1: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500 inet 10.255.250.1 netmask 255.255.255.255 destination 10.255.250.2 inet6 fe80::2b80:2004:6d41:8241 prefixlen 64 scopeid 0x20 unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 100 (UNSPEC) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 6 bytes 456 (456.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

I can't seem to see the port listening on 80 with "netstat -napt | grep 80"

Is there anything I can check to understand why ? (I reinstalled OMR as I had to many issues of loss of internet)

Specifications

-OpenMPTCProuter version: v0.54.7 -OpenMPTCProuter VPS version: 0.1015 -OpenMPTCProuter platform: x86_64

xabix commented 4 years ago

After a reboot it worked again strange