Thread: Firewall rules
View Single Post
  #8 (permalink)  
Old 09-02-2007, 12:16 PM
rmvg rmvg is offline
Advanced Member
 
Posts: 201
Default

nope i get this

/sbin/iptables -nL
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

then this
[root@canmail zcs]# /sbin/service iptables status
/etc/sysconfig/iptables-config: line 58: -A: command not found
/etc/sysconfig/iptables-config: line 59: -A: command not found
/etc/sysconfig/iptables-config: line 60: -A: command not found
/etc/sysconfig/iptables-config: line 61: -A: command not found
/etc/sysconfig/iptables-config: line 62: -A: command not found
/etc/sysconfig/iptables-config: line 64: -A: command not found
/etc/sysconfig/iptables-config: line 65: -A: command not found
/etc/sysconfig/iptables-config: line 67: -A: command not found
/etc/sysconfig/iptables-config: line 68: -A: command not found
/etc/sysconfig/iptables-config: line 69: -A: command not found
/etc/sysconfig/iptables-config: line 70: -A: command not found
/etc/sysconfig/iptables-config: line 71: -A: command not found
/etc/sysconfig/iptables-config: line 72: -A: command not found
/etc/sysconfig/iptables-config: line 73: -A: command not found
/etc/sysconfig/iptables-config: line 74: -A: command not found
/etc/sysconfig/iptables-config: line 75: -A: command not found
/etc/sysconfig/iptables-config: line 77: -A: command not found
/etc/sysconfig/iptables-config: line 78: -A: command not found
/etc/sysconfig/iptables-config: line 79: -A: command not found
/etc/sysconfig/iptables-config: line 80: -A: command not found
/etc/sysconfig/iptables-config: line 81: -A: command not found
/etc/sysconfig/iptables-config: line 82: -A: command not found
/etc/sysconfig/iptables-config: line 83: -A: command not found
/etc/sysconfig/iptables-config: line 84: -A: command not found
/etc/sysconfig/iptables-config: line 85: -A: command not found
/etc/sysconfig/iptables-config: line 86: -A: command not found
/etc/sysconfig/iptables-config: line 87: -A: command not found
/etc/sysconfig/iptables-config: line 89: -A: command not found
/etc/sysconfig/iptables-config: line 90: COMMIT: command not found
Table: filter
Chain INPUT (policy ACCEPT)
num target prot opt source destination

Chain FORWARD (policy ACCEPT)
num target prot opt source destination

Chain OUTPUT (policy ACCEPT)
num target prot opt source destination

then this when check the status again

[root@canmail zcs]# /sbin/service iptables status
/etc/sysconfig/iptables-config: line 58: -A: command not found
/etc/sysconfig/iptables-config: line 59: -A: command not found
/etc/sysconfig/iptables-config: line 60: -A: command not found
/etc/sysconfig/iptables-config: line 61: -A: command not found
/etc/sysconfig/iptables-config: line 62: -A: command not found
/etc/sysconfig/iptables-config: line 64: -A: command not found
/etc/sysconfig/iptables-config: line 65: -A: command not found
/etc/sysconfig/iptables-config: line 67: -A: command not found
/etc/sysconfig/iptables-config: line 68: -A: command not found
/etc/sysconfig/iptables-config: line 69: -A: command not found
/etc/sysconfig/iptables-config: line 70: -A: command not found
/etc/sysconfig/iptables-config: line 71: -A: command not found
/etc/sysconfig/iptables-config: line 72: -A: command not found
/etc/sysconfig/iptables-config: line 73: -A: command not found
/etc/sysconfig/iptables-config: line 74: -A: command not found
/etc/sysconfig/iptables-config: line 75: -A: command not found
/etc/sysconfig/iptables-config: line 77: -A: command not found
/etc/sysconfig/iptables-config: line 78: -A: command not found
/etc/sysconfig/iptables-config: line 79: -A: command not found
/etc/sysconfig/iptables-config: line 80: -A: command not found
/etc/sysconfig/iptables-config: line 81: -A: command not found
/etc/sysconfig/iptables-config: line 82: -A: command not found
/etc/sysconfig/iptables-config: line 83: -A: command not found
/etc/sysconfig/iptables-config: line 84: -A: command not found
/etc/sysconfig/iptables-config: line 85: -A: command not found
/etc/sysconfig/iptables-config: line 86: -A: command not found
/etc/sysconfig/iptables-config: line 87: -A: command not found
/etc/sysconfig/iptables-config: line 89: -A: command not found
/etc/sysconfig/iptables-config: line 90: COMMIT: command not found
Table: filter
Chain INPUT (policy ACCEPT)
num target prot opt source destination

Chain FORWARD (policy ACCEPT)
num target prot opt source destination

Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
__________________
Computer King

http://www.computerking.ca

Sales, Service, and Hosting
Email, Data, and Web Packages
Ask about web design specials

Affiliates
http://www.computerking.ca/pages/lin...affiliates.htm
Reply With Quote