• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Postrouting/Prerouting for second IP

M

Maiki

Guest
Hi all,
first Sorry for my Bad English ;)

Ich have a Root with Debian 4.0 and Plesk 8.2.1. The Server has Two IP Adresses. The Second IP i will use it for VmWare Server.

I have Installed VmWare and XP this works fine with nat i can, from the XP to the Inet but i can not from Inet (RDP) to the XP Mashine. Now a have the second IP and i will the second IP forwarding to the VM with :

iptables -A PREROUTING -d XXX.XXX.XXX.XXX -j DNAT --to-destination 192.168.1.154
iptables -A POSTROUTING -s 192.168.1.154 -j SNAT --to-source XXX.XXX.XXX.XXX

The XXX.XXX.XXX.XXX is the Second IP and the 192.168.1.154 ist th IP of the VM.

In the Plesk Firewall i can only Forwarding (that not works i have testet that).
If i try in the shell and give the Iptables in, the gives a Error:

iptables: No chain/target/match by that name
If a edit the firewall-active.sh file and restart with /etc/init.d/psa-firewall restart the come the same error.

What ist wrong? and whe can i direct insert the Rule in the Plesk Firewall menue?

Or gives a other Solution?
 
Back
Top