From d1a2a4f0664c989a64aa65fb6c1670b18679f8fe Mon Sep 17 00:00:00 2001 From: spiritlhl <103393591+spiritLHLS@users.noreply.github.com> Date: Thu, 5 Dec 2024 22:22:13 +0800 Subject: [PATCH] Update pve_custom.md --- docs/en/guide/pve/pve_custom.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/guide/pve/pve_custom.md b/docs/en/guide/pve/pve_custom.md index bbf4181fd8..9cdb9f0586 100644 --- a/docs/en/guide/pve/pve_custom.md +++ b/docs/en/guide/pve/pve_custom.md @@ -148,7 +148,7 @@ Use the ```nano``` or ```vim``` command to modify the file to add port mapping: For example, if I have a KVM VM with an intranet IP of ```172.16.1.152```, and MYSQL has been set up to listen to ```3306```, and I need to use the ```tcp``` protocol to map out to the ```33306``` port on the host IP, I would add the following line to the ```COMMIT``` line in the file above, then add the following line ``` --A PREROUTING -p tcp -m tcp -dport 33306 -j DNAT --to-destination 172.16.1.152:3306 +-A PREROUTING -i vmbr0 -p tcp -m tcp -dport 33306 -j DNAT --to-destination 172.16.1.152:3306 ``` Save the file and exit file editing and then execute: