UbuntuHelp:Firestarter
来自Ubuntu中文
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
Parent: UbuntuHelp:Software
目录
Firestarter Firewall Configuration
Firestarter is an application for configuring your Ubuntu (GNU/Linux) firewall.
Key Features
- Suitable for use on desktops, servers and gateways
- Enables Internet connection sharing
- Allows you to define both inbound and outbound access policy
- Wizard for easily configuring your firewall
- Sets up DHCP for a local network
- Real time firewall events view
- View active network connections, including any traffic routed through the firewall
Screenshot
Installation
- Via Synaptic Package Manager
- Via apt-get
sudo apt-get install firestarter
Hints and Tips
Initial settings
Go under Edit -> Preferences Interface tab
- Tic off "Enable tray icon" and "Minimize to tray on window close".
- Your firewall will be active when you boot regardless of if you choose to activate the tray icon or not.
Policy tab (under Interface)
- Tic off the "Apply policy changes immediately".
Network Settings
- Select your interface
ICMP Filterings
- Select "Enable ICMP filtering".
- I advise you tic off (enable) "Echo request (ping) and "Echo reply (pong).
- If you do not you will need to enable them if desired for network connection testing/troubleshooting.
Main window
You have three tabs : Status window Shows general information. To disable your firewall Firewall -> Stop firewall To re-enable Firewall -> Start firewall Events This window will show blocked events.
- To allow a blocked connection, select the blocked connection, right click and select from the pull down menu.
Policy This is where you can set and review connection policies. This view is split, the upper view is for Hosts and the lower window is for Services aka Ports. To make a new policy, right click in either window and choose "Add rule" from the pull down menu.
- To enable your LAN, use something like 192.168.1.1/24
To edit an existing policy select the appropriate policy in the window, right click, and select "Remove Rule" to delete the policy and "Edit rule" to modify the policy.
Troubleshooting
Network manager
Apparently there is a conflict between Firestarter and Network manager. The "fix" is to edit /etc/firestarter/firestarter.sh
gksu gedit /etc/firestarter/firestarter.sh
Comment out :
if [ "$MASK" = "" -a "$1" != "stop" ]; then echo "External network device $IF is not ready. Aborting.." exit 2 fi
Lke this:
#if [ "$MASK" = "" -a "$1" != "stop" ]; then #echo "External network device $IF is not ready. Aborting.." #exit 2 #fi
Save your changes and re-boot.