port forwarding for apache
i just set up an apache server, and after it was all said and done i find out my isp blocks port 80 and 8080. i am using no-ip.org to redirect to port 8181. however i can't get apache to accept "listen" on any ports other than 80 and 8080. so my question is, can i forward the port in my router to come in at 8181 and switch to 80 to the linux box ip (192.168.1.7) or should i just forward 8181 to it and redirect it in my firewall or through some other method like tomcat ex:
iptables -t nat -A PREROUTING -p tcp --dport 8181 -j REDIRECT --to-port 80
also if i do a netstat it doesn't show that i am actively listening on that port(8181) so i guess i would have to open it up somehow...
it seems like i am almost there, i just need alittle nudge to get me over the hill.
ps, i'm getting the error "can't bind 8181 no listening sockets available
|