How do I view my firewall?
I just built my firewall with fwbuilder. I'm running Ubuntu 9.04 and I would like to view the new firewall. Is it possible? If yes how? If no how do I check if it's working? And how can I see which ports are blocked and which are listening?
|
You can use nmap from an external computer.
However there are sites where you can test the firewall. http://www.google.be/search?q=online...ient=firefox-a |
Quote:
|
Is there a way to check your firewall internally? Or to see of it's even up form the commandline or some graphical interface?
|
as root
Code:
iptables -L |
Quote:
To the OP, if you do the suggested listing and see any entries marked DROP or REJECT your firewall is at *least* partially working. |
Quote:
why "not very user friendly at all!" ? The OP wants to know if the firewall is running. |
To check if and how your firewall works you can add that line:
Code:
*.* /dev/tty12 Code:
/etc/rc.d/rc.syslog restart To see system logs press Ctrl+Alt+F12. To come back to X Window press Alt+F7. The above commands and files work with Slackware. In your distribution it can be other commands and files. |
w1ko I dont have a /etc/syslog.conf file, is there another way?
|
for viewing your firewall
give below command iptables -nvL this will give you complete description. |
Quote:
/var/log/* However, if the log option isn't setup in your firewall, there won't be much info in the logfiles. |
Quote:
|
Thanks a bunch everybody:)
|
Quote:
|
All times are GMT -5. The time now is 10:53 PM. |