how should set up iptables to accept WWW connection
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
By using the iptables command to set everything up, and only doing a save when you're happy with how everything is set up. It's common practice to create a script, cuz you can easily make edits to it. So once you've got your script perfected, you execute it, then proceed to save the configuration. You never need to touch the saved configuration file.
Well, you still haven't posted the relevant "iptables -nvL" output, so we have no idea what your current iptables configuration is. If you feel overwhelmed by iptables at this time you have lots of front-ends available to make things easier for you until you get comfortable with iptables.
I have posted the "iptalbes -nvL" for current iptables. Plese take a look at.
Seriously, by now you really should know how to use code tags. I mean, I've even given you a link to clear instructions on how to use them and everything. Here's an example of how to use them:
[code]Your output goes here.[/code]
And yeah, the iptables configuration you posted looks fine to me.
Seriously, by now you really should know how to use code tags. I mean, I've even given you a link to clear instructions on how to use them and everything. Here's an example of how to use them:
[code]Your output goes here.[/code]
And yeah, the iptables configuration you posted looks fine to me.
I am sorry. I thought the code tag should be used only for a code such as script. But, now I understood it, and just edited my previously posted threds which contain "code".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.