Dear devino,
Hello,
For 2.2.x
# ipchains -A input -s 0/0 80 -i eth0 -p 6 -j ACCEPT
For 2.4.x
# iptables -A INPUT -i eth0 -p tcp --dport 80 -j ACCEPT
Best Regards.
Hi,
I've got a question. The router here is good configurerd for internetting with many people. The point is now, that there's a webserver in the network since a few days. The problem is that i don't know how to configure my router that the webserver can be accessed from outside the network.
Het router is an old pc with linux on it. and i can only acces it by telnet, but i can login as root.
sow how can i configure my router by telnet so that the webserver can be accessed from outside the local network.
Thanks for helping me.
Devino.
Dear devino,
Hello,
For 2.2.x
# ipchains -A input -s 0/0 80 -i eth0 -p 6 -j ACCEPT
For 2.4.x
# iptables -A INPUT -i eth0 -p tcp --dport 80 -j ACCEPT
Best Regards.
Färrükh Ähmëd
thanks for the reply, but what i'd forgotten to mention is the version, and that is 2.0
and could you specify where in the input i've to put the internal ip adres, because that's not clear to me in the 2 which you've posted.
Thanks!
Best Regards,
Devino
Dear devino,
Hello,
For more information please read these documents.
# man iptables
# man ipchains
http://www.netfilter.org/documentation/
Best Regards.
Färrükh Ähmëd
Bookmarks