• 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

manual iptables entries

J

jag7720

Guest
The company that I lease my server from has made changes on their network that does not allow a single NIC to have two or more MAC addresses.

I run a VM Host on my server. My guest OS can no longer reach the world. The Hosting company says I need to add rules to my iptables... problem is, the kind of rules i need to add are not available in the PLESK CP...

e.g.
echo 1 /proc/sys/net/ipv4/ip_forward
sysctl -w net.ipv4.ip_forward=1
iptables -t nat -A PREROUTING -d EXT-IP -i eth0 -j DNAT --to-destination PRIVATE-IP
iptables -t nat -A POSTROUTING -s PRIVATE-IP -o eth0 -j SNAT --to-source EXT-IP
iptables -P FORWARD ACCEPT

if I add the rules to the system, PLESK will overwrite them at will.

How can I add manual rules to the iptables when PLESK stores them in the database in a binary blob?
 
Back
Top