Question want to connect to proxmox web UI through different network

agangurde1000

Honorable
Nov 6, 2017
95
1
10,535
hello i want to connect to my proxmox server web ui through different network
my proxmox address ip https://192.168.1.9:8006
then i unable port forwading on my router
wan ip = my router public ip
lan ip = 192.168.1.9
wan port = 8006 lan port = 8006
save and exit
change firewall rule on proxmox
iptables -I INPUT -p tcp --dport 8006 -j ACCEPT
iptables-save > /etc/network/iptables.rules

online port scanner says port close
 
There are 3 basic things you need for port forwarding to work.

First and most important is to actually have a public ip. The IP you see in your router on the wan port must match a site like whatsmyip. Not actually having a public IP tends to be what most people who ask this question on this forum tend to have issues with since most people have spent time messing with the settings in the router and pc before they post.

Next the application actually has to be active on the port you think it is when you are running the test. If you can access it via your lan then it should respond to port scanners.

Then you have the port forwarding rules. Some routers are confusing. It tends to be easier to use the DMZ option to start with since that tends to be simple. Once running it in DMZ mode works you can work on getting the port forwarding.

This tends to be hard to debug. Running wireshark on the server machine would let you see if you get any incoming traffic even if it is being blocked. If you run DMZ mode and scan a large number of ports it tends to be very obvious in the wireshark that you receive the data.
 
  • Like
Reactions: agangurde1000

agangurde1000

Honorable
Nov 6, 2017
95
1
10,535
There are 3 basic things you need for port forwarding to work.

First and most important is to actually have a public ip. The IP you see in your router on the wan port must match a site like whatsmyip. Not actually having a public IP tends to be what most people who ask this question on this forum tend to have issues with since most people have spent time messing with the settings in the router and pc before they post.

Next the application actually has to be active on the port you think it is when you are running the test. If you can access it via your lan then it should respond to port scanners.

Then you have the port forwarding rules. Some routers are confusing. It tends to be easier to use the DMZ option to start with since that tends to be simple. Once running it in DMZ mode works you can work on getting the port forwarding.

This tends to be hard to debug. Running wireshark on the server machine would let you see if you get any incoming traffic even if it is being blocked. If you run DMZ mode and scan a large number of ports it tends to be very obvious in the wireshark that you receive the data.
ok so first
  1. My wan ip is same as my public ip and also my public ip never changes so it must be static
  2. My proxmox server is running so we can say that application is running i dont want to access node or vm of my proxmox i want to access web ui itself from different network
  3. I also try to work with DMZ mode wherer i put lan host ip to of proxmox which is 192.168.1.9 still no results ;(
  4. so wireshark i will update it once i check it
thank you for replay if you find any new info regarding this please let me know ;)