View Single Post
Unread 07-22-2002, 11:47 AM   #1
ViperSTD
Cooling Neophyte
 
ViperSTD's Avatar
 
Join Date: Jun 2002
Location: USA
Posts: 9
Linux Firewall: IPTABLES and Loopback


I can't get my iptables set up correctly. It seems to work perfectly except that the loopback is being denied.

I have tried the two following configurations to no avail:
-------------------Configuration 1--------------------------
## Loop Back ##
/sbin/iptables -A INPUT -p tcp --syn -s 127.0.0.1 -j ACCEPT

######## Deny Everything else ########
/sbin/iptables -A INPUT -j DROP

-------------------Configuration 2----------------------------
## Loop Back ##
/sbin/iptables -A INPUT -i lo -j ACCEPT

######## Deny Everything else ########
/sbin/iptables -A INPUT -j DROP

Could someone please shed some light on this for me?

TIA
ViperSTD is offline   Reply With Quote