View Single Post

  #6 (permalink)  
Old 08-10-2007, 09:14 PM
nixcraft's Avatar
nixcraft nixcraft is offline
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Ubuntu
Posts: 1,030
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Quote:
Originally Posted by B!n@ry View Post
iptables -A OUTPUT -i lo --dport 80 -j ACCEPT
Naa it won't work as it open port 80 for loopback only

Code:
iptables -A INPUT -p tcp -s 0/0 --sport 1024:65535 -d WEB-SERVER-IP --dport 80 -j ACCEPT
@asim.mcp can you paste your existing iptables rules?
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote