PDA

Bekijk de volledige versie : Setting up firewall



zebs
09-10-2007, 15:37
Hi there!

I got the webserver running, i guess since i can view pages on it.. but, i cant acces the server from computers outside the lan.. why?

hos do i set up iptables, i've read several FAQs and guides, but it still wont work... should i use port 8081?


iptables -A FORWARD -i $1 -p tcp --dport 8081 --destination 192.168.1.15
-j ACCEPT
iptables -A FORWARD -i $1 -p udp --dport 8081 --destination 192.168.1.15
-j ACCEPT

this is in my post-firewall file... is this correct?

I need some clues please, i cant figure out how to do this easy task...