Skip to main content

Setup Proxmox Node trên Hetzner Dedicated Server

Tóm tắt những gì sẽ làm:

  1. Vào Hetzner , chọn dedicated server rẻ rẻ để bắt đầu, mình test với AX 42 (có hổ trợ Virtualization, INTEL-VT) do lúc này đang có promotion $0 setup fee để test và chuyển website applications từ shared hosting sang dedicated server luôn 
  2. Đăng ký xong thì bạn vào email lấy thông tin ssh đăng nhập
  3. Download Putty, cấu hình ssh và SSH Tunnel để kết nối server đồng thời cài setup OS qua RealVNC Viewer


Chọn Dedicated Server nào phù hợp?

Performance Hetzner Servers: https://go.kyluat.com/M8oBN

Đăng ký xong:

  1. Xem email, lưu thông tin tài khoản lại
  2. vào robot hetzner xem thử: https://go.kyluat.com/hq1gs
  3. Lưu lại thông tin server như public ip, gateway ip, netmask để tiện config
  4. Chỉnh firewall port 22,8006,5900

Download Putty

Config Putty với SSH tunnel

Source Port: 9090 (để bất kỳ port nào để connect realvnc viewer với port này trên máy)

Destination: xxx.xxx.xxx.xxx:5900 ( địa chỉ public ip của server và port default vnc là 5900 )

Giải thích thêm: thì từ đây, sau khi đã connected với ssh server khi xài vnc thì chỉ cần đánh address localhost:9090 thì nó sẽ connect tới vnc server của server

image.png

image.png

Bước khó khăn cơ bản đã qua.

Mới bạn làm theo anh này: https://www.youtube.com/watch?v=pZBLYTr4qzA

Download Proxmox Iso image, rename thành pve.iso

Kết quả:

image.png

image.png

Thêm:

Mở port 9001 từ địa chỉ AAA của Node tới địa chỉ BBB của VM

sudo iptables -t nat -A PREROUTING -p tcp -d AAA.AAA.AAA.AAA --dport 9001 -i vmbr0 -j DNAT --to-destination BBB.BBB.BBB.BBB:9001