Like this?
~$ curl 192.168.0.136:8888 curl: (56) Recv failure: Connection reset by peer
Comment on [Question] Firewall noob vs. port forward
maxwellfire@lemmy.world 9 months agoInstead of connecting with a web browser, can you try using curl or telnet just to check if you’re getting through at the IP connection level?
Like this?
~$ curl 192.168.0.136:8888 curl: (56) Recv failure: Connection reset by peer
The rules and the log looks find to me, so I suspect something else is going on. Since you’re seeing the request hit apache.
Have you tried another browser just to see if that’s the issue?
Please take a look at my updated original post. I have added some information and a tcpdump.
tofubl@discuss.tchncs.de 9 months ago
Further digging: The request reaches the docker container, which returns
200 OK
.my-apache-app | 2024-02-09T12:53:22.925676854Z 192.168.0.123 - - [09/Feb/2024:12:53:22 +0000] “GET / HTTP/1.1” 200 161
What is going on here? Do I need some rules in the other direction, on top of “Automatic outbound NAT rule generation”?