Proxmox/SSL Redirect
< Proxmox
Tempoary:
iptables -t nat -A PREROUTING -d 10.0.0.21 -p tcp --dport 443 -j REDIRECT --to-port 8006
Persist:
/etc/network/interfaces
post-up iptables -t nat -A PREROUTING -d 10.0.0.21 -p tcp --dport 443 -j REDIRECT --to-port 8006 || true
auto vmbr0
iface vmbr0 inet static
address 10.0.0.121/24
gateway 10.0.0.1
bridge-ports enp3s0
bridge-stp off
bridge-fd 0
post-up iptables -t nat -A PREROUTING -d 10.0.0.21 -p tcp --dport 443 -j REDIRECT --to-port 8006 || true
#Public