Formatting code for IpTables


show source only

>>[[http://linux.die.net/man/8/iptables iptables]]
[[http://www.linuxtopia.org/Linux_Firewall_iptables/ Linux Firewall iptables]]
[[http://www.cyberciti.biz/tips/force-iptables-to-log-messages-to-a-different-log-file.html iptables log-messages to a different file]]
WebMin
>>===IP Tables===
iptables is administration tool for IPv4 packet filtering, load balancing, NAT & TARPIT'ing

you can also edit iptables using
%%
# system-config-security
%%
or
WebMinFirewall

==iptables list==
iptables list configuration
%%
# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
LOG all -- anywhere anywhere LOG level debug prefix `BANDWIDTH_IN:'

Chain FORWARD (policy ACCEPT)
target prot opt source destination
LOG all -- anywhere anywhere LOG level debug prefix `BANDWIDTH_OUT:'
LOG all -- anywhere anywhere LOG level debug prefix `BANDWIDTH_IN:'

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
LOG all -- anywhere anywhere LOG level debug prefix `BANDWIDTH_OUT:'

%%
==iptables logfile==
/etc/syslog.conf
%%
kern.=debug -/var/log/bandwidth
%%

SysLog

----
REFERRERS
{{backlinks}}
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki