Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Newbie to linux and wanted to run internal web servers on my lan. Have tried numerous configurations to have iptables forward ports from linux box to internal lan. Connections from outside the network work fine, but connections from the lan get "connection refused" errors. Any suggestions??? Below is the current config:
i'm having the same problem. iptables starting to make me scratch my head ... hard! i type the SAME exact thing as what you have and i get an error message that --dport isn't understood. BUT when i put in the protocol (ie -p TCP) it works fine.
why is that? why do i *HAVE* to specify the protocol? did you?
still doesn't work though! bah. ipmasqadm worked so well too. not sure why iptables is giving me such a hard time. can't get any of the portfwarding to work. (proxy server, dns, web)
grrrrrr.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.