[TUTORIAL] How to access host's panel via fixed domain/IP when host's IP changes due to network switch in pve bridge mode?

pve_sword

New Member
Aug 29, 2023
1
0
1

As the title says​

  • The host machine joins network A and gets an internal IP of 192.168.30.150
  • The host machine joins network B and gets an internal IP of 10.24.36.128

Current situation​

  • The virtual machine needs to use bridge mode to conveniently allow external access to various ports of the virtual machine
  • Unable to unify the internal IPs of networks A and B

At this time​

Trouble​

  • The IP of the pve management panel opened each time is different

Unacceptable solution​

  • Use frp or similar services to penetrate the internal network and access it through the external network

Problem extension​

  • If you plan to open a virtual machine A, run openwrt+openclash in virtual machine A, and let other virtual machines use virtual machine A as a side router, there will be similar problems. The IP of this virtual machine A is not fixed. How to solve this problem?