Proxmox/SSL Redirect: Difference between revisions
< Proxmox
(Created page with " 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 <pre> 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 t...") |
(No difference)
|
Latest revision as of 02:14, 24 March 2024
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