http access to container with dhcp

liebero3

Member
Apr 27, 2017
18
0
6
43
Hello,

I have my proxmox Host 192.168.178.60 behind a fritzbox (router). The fritzbox leases a ip-address to a ubuntu-container, in my case 192.168.178.63.

I can reach the webserver inside my lan via http://192.168.178.63.
I can forward port 22 to my webserver with the fritzbox and I can ssh into the webserver over dyn-dns(myfritz).
But forwarding port 80 to my webserver does not work.

Is there anything special about port 80 with proxmox, that 22 (and some others) do work, but 80 don't? Does it have anything to do with proxmox at all?

If you need more Informations about the setup just ask.

Cheers,
Till
 
no there is nothing special about this port, except if of course the firewall does not block it

verify if from your LAN the port is open with

nmap -p 80 192.168.178.63.

and then test it againg with your myfritz if *from outside your lan*
 
This is the output after connecting through hotspot of my phone.

Maybe I have to check my apache config again? Inside the lan the website opens, outside chrome says ERR_CONNECTION_TIMED_OUT.

C:\Users\liebe>nmap -p 80 **********.de

Starting Nmap 7.12 ( https://nmap.org ) at 2017-05-04 14:24 Mitteleuropõische Sommerzeit
Nmap scan report for **********.de (87.79.***.***)
Host is up (0.093s latency).
rDNS record for 87.79.***.***: xdsl-87-79-***-***.netcologne.de
PORT STATE SERVICE
80/tcp open http

Nmap done: 1 IP address (1 host up) scanned in 1.77 seconds
 
then probably something is wrong with the port forwarding in your fritz box ( wrong target IP ) or you ISP is blocking incoming http connections
 
That is strange...I configured it the exact same way inside the fritzbox before, when I had the webserver on a raspberry pi (obviously with a different ip to forward).

I'll double-check that. Thanks for your help!
 
Now that I have some freetime again, I came back to this project.

Is there anyone, who has an idea, what my problem could be?

If I set a portforward of port 22, I can ssh into my webserver over myfritz (dyndns). Everything works fine.

If I set a portforward of port 80 it just times out. The same forward to my raspberry pi works fine. (obviously, I don't have them both simultaniously).

I have no idea, whats going wrong here. Anything I could check?

Cheers,
Till
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!