Please follow the below template, it will help us to help you!
Expected Behaviour:
When SSHing into the PiHole from outside the local subnet, it should work
Actual Behaviour:
SSH doesn't connect. The PiHole lives in 10.0.1.0/24, but my OpenVPN client address space is 10.0.0.0/25. When a request from 10.0.0.2 comes through, the PiHole ignores it. I've checked sshd logs, and don't see anything. Checked iptables, and it's not even installed. SSH works if I access via 10.0.1.4, for example.
PiHole is running on Ubuntu Server 16.04 fresh.
A tcpdump on the PiHole itself shows that the SSH packets arrive, but are never responded to:
ryanb@dns01:~$ sudo tcpdump host 10.0.0.2 -vvv
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
20:05:18.806920 IP (tos 0x0, ttl 127, id 15574, offset 0, flags [DF], proto TCP (6), length 52)
10.0.0.2.50450 > dns01.ssh: Flags [S], cksum 0x45c0 (correct), seq 1581250126, win 64240, options [mss 1369,nop,wscale 8,nop,nop,sackOK], length 0
20:05:18.806996 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 10.0.0.2 tell dns01, length 28
20:05:19.803613 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 10.0.0.2 tell dns01, length 28
20:05:20.803619 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 10.0.0.2 tell dns01, length 28
20:05:21.807954 IP (tos 0x0, ttl 127, id 15579, offset 0, flags [DF], proto TCP (6), length 52)
10.0.0.2.50450 > dns01.ssh: Flags [S], cksum 0x45c0 (correct), seq 1581250126, win 64240, options [mss 1369,nop,wscale 8,nop,nop,sackOK], length 0
20:05:21.808009 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 10.0.0.2 tell dns01, length 28
20:05:22.803605 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 10.0.0.2 tell dns01, length 28
20:05:23.803616 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 10.0.0.2 tell dns01, length 28
20:05:24.803705 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 10.0.0.2 tell dns01, length 28
20:05:25.803621 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 10.0.0.2 tell dns01, length 28
20:05:26.803610 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 10.0.0.2 tell dns01, length 28
20:05:27.809195 IP (tos 0x0, ttl 127, id 15589, offset 0, flags [DF], proto TCP (6), length 52)
10.0.0.2.50450 > dns01.ssh: Flags [S], cksum 0x45c0 (correct), seq 1581250126, win 64240, options [mss 1369,nop,wscale 8,nop,nop,sackOK], length 0
20:05:27.809245 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 10.0.0.2 tell dns01, length 28
20:05:28.803608 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 10.0.0.2 tell dns01, length 28
20:05:29.803611 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 10.0.0.2 tell dns01, length 28
Debug Token:
boh34pcoft