Use IPTables to Redirect ProxMox HTTPS Web UI Traffic

Channel:
Subscribers:
14,400
Published on ● Video Link: https://www.youtube.com/watch?v=K3SXoMpqIIU



Duration: 1:22
1,387 views
19


#Proxmox #Hypervisor #IPTables

Full steps can be found at https://i12bretro.github.io/tutorials/0435.html

   01. Log into ProxMox VE, either at the console or the web UI and launch the web shell
   02. Run the following commands
         # add the ip tables rule
         /sbin/iptables -F
         /sbin/iptables -t nat -F
         /sbin/iptables -t nat -A PREROUTING -p tcp --dport 443 -j REDIRECT --to-port 8006
         # install iptables-persistent
         apt install iptables-persistent -y
   03. When prompted, select Yes to save current IPv4 rules ≫ Press Enter
   04. When prompted, select Yes to save current IPv6 rules ≫ Press Enter
   05. Open a web browser and navigate to https://DNSorIP to verify the 443 to 8006 redirect is working
   06. Reboot the ProxMox host
   07. Once the host has rebooted, test that the web UI is still reachable without specifying the port (:8006)
 


### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro







Tags:
Proxmox VE
IP Tables
Hypervisor
Port Forward
8006
Debian
Linux
HTTPS
SSL
Virtual Machine
VM
Proxmox
How To
Tutorial
i12bretro