Re: httpd not reachable from outside

2022-06-22 Thread Adriano Barbosa
On Wed, Jun 22, 2022 at 05:43:30PM -0400, Adriano Barbosa wrote:
> Hi.
> 
> My httpd was working perfectly for the last 32 days and today I it
> doesnt respond anymore. Last change I made on this box was update
> nextcloud package, tested after the upgrade and it was working. The
> machine is running 7.1-stable.
> 
> httpd responds on the machine itself with a curl localhost call, for
> example, but not from outside.
> 
> nmap from outside returns
> PORTSTATESERVICE
> 80/tcp  filtered http
> 443/tcp filtered https
> 
> httpd.conf is defined with
> listen on * port 80
> and
> listen on * tls port 443
> 
> I remember it happening once and it solved after a machine reboot, but
> I dont have physical access to the machine for this week to enter
> bioctl password after the reboot and Im afraid to try a network
> restart by myself and lose access to the machine.
> 
> Any ideas or suggestions on how to find the problem?
> 
> Obrigado!

Looks like my ISP decided to block 80 and 443 ports...
At least it works when I change httpd port to some high ports.

Sorry for the noise and thank you.



Re: httpd not reachable from outside

2022-06-22 Thread Adriano Barbosa
On Thu, Jun 23, 2022 at 01:06:36AM +0200, Tom Smyth wrote:
> can you just restart httpd with
> rcctl restart httpd

Alreay did it. Also restarted pf and did try disabling it. No success.

> 
> did your ip addresses on external interface change ?

No.

> 
> what are the loadef firewall rules

I use the default pf.conf



Re: httpd not reachable from outside

2022-06-22 Thread Tom Smyth
hi Adriano

can you just restart httpd with
rcctl restart httpd

did your ip addresses on external interface change ?


what are the loadef firewall rules

Thanks

Tom Smyth



On Thu 23 Jun 2022, 00:05 Adriano Barbosa,  wrote:

> Hi.
>
> My httpd was working perfectly for the last 32 days and today I it
> doesnt respond anymore. Last change I made on this box was update
> nextcloud package, tested after the upgrade and it was working. The
> machine is running 7.1-stable.
>
> httpd responds on the machine itself with a curl localhost call, for
> example, but not from outside.
>
> nmap from outside returns
> PORTSTATESERVICE
> 80/tcp  filtered http
> 443/tcp filtered https
>
> httpd.conf is defined with
> listen on * port 80
> and
> listen on * tls port 443
>
> I remember it happening once and it solved after a machine reboot, but
> I dont have physical access to the machine for this week to enter
> bioctl password after the reboot and Im afraid to try a network
> restart by myself and lose access to the machine.
>
> Any ideas or suggestions on how to find the problem?
>
> Obrigado!
>
>