Hi,
I have 2 sites, both running FreeBSD 11.2-RELEASE-p4, they are connected via IPSec site2site pfsense VM appliances.
I can't connect to port 443 from Site A (10.0.1.x range) to Site B (10.0.0.x range), also the other way around I can't connect from Site B to Site A.
All other ports between both sites are no problem, both are running SSH, Apache and a lot of other services.
Tried to disable all firewalls, disabled packet filtering in both pfSense VM's.
Reinstalled Apache on both sites.
I can however connect from a host within Site B to apache on the FreeBSD server at Site B.
I can also connect from a host within Site A to apache on FreeBSD server at Site A.
From Site A when I run links https://10.0.0.2/network I got a timeout.
From Site A when I run links http://10.0.0.2/network it got connected and serving the webpage.
Packet is arriving at site B, but why do I get a timeout?
When I use
Port 80 is working
Port 443 gives a timeout
Apache does not log anything.
No dropped or rejected packets at both pfSense firewalls.
SSH and all other port from Site A to Site B are connecting without any problem.
When I temporary change the 443 port in apache config to 444 at site B it connects fine from site A to that port.
Anyone have a clue?
Best Regards,
Donald.
I have 2 sites, both running FreeBSD 11.2-RELEASE-p4, they are connected via IPSec site2site pfsense VM appliances.
I can't connect to port 443 from Site A (10.0.1.x range) to Site B (10.0.0.x range), also the other way around I can't connect from Site B to Site A.
All other ports between both sites are no problem, both are running SSH, Apache and a lot of other services.
Tried to disable all firewalls, disabled packet filtering in both pfSense VM's.
Reinstalled Apache on both sites.
I can however connect from a host within Site B to apache on the FreeBSD server at Site B.
I can also connect from a host within Site A to apache on FreeBSD server at Site A.
From Site A when I run links https://10.0.0.2/network I got a timeout.
From Site A when I run links http://10.0.0.2/network it got connected and serving the webpage.
Packet is arriving at site B, but why do I get a timeout?
When I use
tcpdump
at site B and make a connection to port 443 with links
http and https at site A:
Code:
root@fileserver:/etc # tcpdump -n "src host 10.0.1.2 and dst host 10.0.0.2 and (dst port 80 or dst port 443)"
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on vmx0, link-type EN10MB (Ethernet), capture size 262144 bytes
20:47:02.890222 IP 10.0.1.2.58865 > 10.0.0.2.80: Flags [S], seq 1554715555, win 65535, options [mss 1416,nop,wscale 9,sackOK,TS val 269739209 ecr 0], length 0
20:47:02.904127 IP 10.0.1.2.58865 > 10.0.0.2.80: Flags [.], ack 2970669685, win 129, options [nop,nop,TS val 269739228 ecr 559453973], length 0
20:47:02.906458 IP 10.0.1.2.58865 > 10.0.0.2.80: Flags [P.], seq 0:597, ack 1, win 129, options [nop,nop,TS val 269739228 ecr 559453973], length 597: HTTP: GET /network HTTP/1.1
20:47:02.925144 IP 10.0.1.2.27036 > 10.0.0.2.80: Flags [S], seq 4136953711, win 65535, options [mss 1416,nop,wscale 9,sackOK,TS val 269739248 ecr 0], length 0
20:47:02.942442 IP 10.0.1.2.27036 > 10.0.0.2.80: Flags [.], ack 3326231012, win 129, options [nop,nop,TS val 269739259 ecr 3163961707], length 0
20:47:02.942565 IP 10.0.1.2.27036 > 10.0.0.2.80: Flags [P.], seq 0:617, ack 1, win 129, options [nop,nop,TS val 269739259 ecr 3163961707], length 617: HTTP: GET /network/ HTTP/1.1
20:47:03.021286 IP 10.0.1.2.58865 > 10.0.0.2.80: Flags [.], ack 516, win 129, options [nop,nop,TS val 269739340 ecr 559453984], length 0
20:47:03.060824 IP 10.0.1.2.27036 > 10.0.0.2.80: Flags [.], ack 1107, win 129, options [nop,nop,TS val 269739381 ecr 3163961728], length 0
20:47:07.963072 IP 10.0.1.2.58865 > 10.0.0.2.80: Flags [.], ack 517, win 129, options [nop,nop,TS val 269744280 ecr 559459023], length 0
20:47:07.986907 IP 10.0.1.2.27036 > 10.0.0.2.80: Flags [.], ack 1108, win 129, options [nop,nop,TS val 269744309 ecr 3163966758], length 0
20:47:22.985644 IP 10.0.1.2.27036 > 10.0.0.2.80: Flags [F.], seq 617, ack 1108, win 129, options [nop,nop,TS val 269759298 ecr 3163966758], length 0
20:47:22.985695 IP 10.0.1.2.58865 > 10.0.0.2.80: Flags [F.], seq 597, ack 517, win 129, options [nop,nop,TS val 269759298 ecr 559459023], length 0
Code:
root@fileserver:/etc # tcpdump -n "src host 10.0.1.2 and dst host 10.0.0.2 and (dst port 80 or dst port 443)"
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on vmx0, link-type EN10MB (Ethernet), capture size 262144 bytes
20:47:57.356404 IP 10.0.1.2.56363 > 10.0.0.2.443: Flags [S], seq 3731676877, win 65535, options [mss 1416,nop,wscale 9,sackOK,TS val 269793678 ecr 0], length 0
20:48:00.358021 IP 10.0.1.2.56363 > 10.0.0.2.443: Flags [S], seq 3731676877, win 65535, options [mss 1416,nop,wscale 9,sackOK,TS val 269796679 ecr 0], length 0
20:48:03.579332 IP 10.0.1.2.56363 > 10.0.0.2.443: Flags [S], seq 3731676877, win 65535, options [mss 1416,nop,wscale 9,sackOK,TS val 269799903 ecr 0], length 0
20:48:06.775710 IP 10.0.1.2.56363 > 10.0.0.2.443: Flags [S], seq 3731676877, win 65535, options [mss 1416,nop,wscale 9,sackOK,TS val 269803098 ecr 0], length 0
20:48:09.977563 IP 10.0.1.2.56363 > 10.0.0.2.443: Flags [S], seq 3731676877, win 65535, options [mss 1416,nop,wscale 9,sackOK,TS val 269806300 ecr 0], length 0
20:48:13.181119 IP 10.0.1.2.56363 > 10.0.0.2.443: Flags [S], seq 3731676877, win 65535, options [mss 1416,nop,wscale 9,sackOK,TS val 269809504 ecr 0], length 0
20:48:19.382248 IP 10.0.1.2.56363 > 10.0.0.2.443: Flags [S], seq 3731676877, win 65535, options [mss 1416,nop,wscale 9,sackOK,TS val 269815699 ecr 0], length 0
20:48:31.581173 IP 10.0.1.2.56363 > 10.0.0.2.443: Flags [S], seq 3731676877, win 65535, options [mss 1416,nop,wscale 9,sackOK,TS val 269827901 ecr 0], length 0
20:48:55.781616 IP 10.0.1.2.56363 > 10.0.0.2.443: Flags [S], seq 3731676877, win 65535, options [mss 1416,nop,wscale 9,sackOK,TS val 269852099 ecr 0], length 0
20:49:12.362492 IP 10.0.1.2.14159 > 10.0.0.2.443: Flags [S], seq 2556223907, win 65535, options [mss 1416,nop,wscale 9,sackOK,TS val 269868684 ecr 0], length 0
20:49:15.365536 IP 10.0.1.2.14159 > 10.0.0.2.443: Flags [S], seq 2556223907, win 65535, options [mss 1416,nop,wscale 9,sackOK,TS val 269871689 ecr 0], length 0
20:49:18.581915 IP 10.0.1.2.14159 > 10.0.0.2.443: Flags [S], seq 2556223907, win 65535, options [mss 1416,nop,wscale 9,sackOK,TS val 269874900 ecr 0], length 0
Apache does not log anything.
No dropped or rejected packets at both pfSense firewalls.
SSH and all other port from Site A to Site B are connecting without any problem.
When I temporary change the 443 port in apache config to 444 at site B it connects fine from site A to that port.
Anyone have a clue?
Best Regards,
Donald.