I am testing PMG for deployment into an environmentthat has some restrictions that would require firewall rules and policy routing rules on the PMG itself (not having an upstream firewall, administration interface restricted to given IPs, also via VPN that is routed through a different router then the subnet default gateway).
On a generic Linux machine these are simply acomplished with
and
utilities.
Basic intuition is to create a script with the necessary commands and have it run at startup. Something like a
.
Having little experience on Debian family distributions and PMG being a significantly modified Debian derivative, what would be the best way of acomplishing this?
On a generic Linux machine these are simply acomplished with
Code:
iptables
Code:
ip
Basic intuition is to create a script with the necessary commands and have it run at startup. Something like a
Code:
/etc/rc.local
Having little experience on Debian family distributions and PMG being a significantly modified Debian derivative, what would be the best way of acomplishing this?