You are correct, ufw is just a front end for iptables. I told you earlier in the post where the scripts that ufw loads at start up are located. To reiterate that point
Originally Posted by jsvidyad
UFW default rules (the policies and rules that come with UFW by default) are stored in
UFW user rules (rules created by you, example : allowing traffic to SSH) are stored in
These files are loaded by UFW when it starts, if it is scheduled as an upstart job (starts at boot time) they will be loaded then. Otherwise they will be loaded when you give the
As far as iptables goes, you can create a script anywhere to interact with that, starting an iptables script is often done either via an upstart job, using the service iptables-save command , or adding the iptables script to the network interface's pre-up.d startup scripts.
Outside of that I'm not sure what else you're looking for.