• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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