7

Ubuntu Server 12.04: How does one configure the firewall during installation?

view full story
linux-howto

http://serverfault.com – I'm following instructions to automate the installation of Ubuntu Server 12.04 using kickstart. It works well for automatically partitioning the drives, selecting languages etc. However, it doesn't configure the firewall. It is a known issue. Running without a firewall isn't a good idea. How does one configure the UFW firewall during installation to prevent unauthorized access to the server? The kickstart file I have looks as follows (with only the username changed) #System language lang en_US #Language modules to install langsupport en_US #System keyboard keyboard us #System mouse mouse # (HowTos)