Transport Rule from interfaces file to gui

AmokPaule

Member
May 10, 2010
44
0
6
Hello,

if its possible would someone please so kind to help me to transport the folling rule to the gui?

The VM i want the rule to work in is a lxc one.
post-up iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j DNAT --to 10.10.10.20:80
#post-down iptables -t nat -D PREROUTING -i eth0 -p tcp --dport 80 -j DNAT --to 10.10.10.20:80

The rule works fine when added in the interfaces file. I want to have it in the gui.
Any help is much appreciated!