Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restrict traffic on port 8080 and 8443 to local traffic only when using Nginx #61

Open
douglascrp opened this issue May 29, 2015 · 0 comments

Comments

@douglascrp
Copy link
Contributor

@loftux what do you think about this idea?

I got it from here http://blog.gmeiners.net/2015/03/fine-tuning-alfresco-5-on-tomcat.html

To be more specific, in the following lines:

As a last step we will restrict traffic on port 8080 and 8443 to local traffic only (you may want to define exceptions for port 8443 otherwise you won't be able to access the Solr4 web interface):

/sbin/iptables -A INPUT -p tcp -i eth0 --dport 8080 -j REJECT --reject-with tcp-reset
/sbin/iptables -A INPUT -p tcp -i eth0 --dport 8443 -j REJECT --reject-with tcp-reset

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant