• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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