Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have setup a JIRA instance and it now listens on

Now I want to expose it like

Can I do this with linux tools (iptables ...) alone (and how) or do I need a web server?

Thanks for every answer to a newbie in the linux world

share|improve this question

closed as not constructive by John Gardeniers, Ward, Magellan, rnxrx, Michael Hampton Oct 14 '12 at 20:59

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

Thank you very much for downvoting my question without telling me a reason, so I can stay in the comfortable state of innocence – heinob Oct 14 '12 at 8:19
up vote 1 down vote accepted

You can change port numbers using iptables like redirecting traffic from port 8080 to port 80. However, you need to have an HTTP proxy server to change the domain name or the file path. So, you can not do the whole thing using iptables alone.

share|improve this answer
I will check out a HTTP proxy for my system. Thanks for your answer. – heinob Oct 14 '12 at 8:25

You can configure this in Jira's Tomcat configuration files. This is the only place you should configure that as Jira needs to know this to generate the proper links within Jira. The Jira documentation refers how to do (configure port and where Jira listens) this in multiple places.

share|improve this answer
Thanks for your answer. I have found that, but it does not solve the path issue: .../jira --> JIRA – heinob Oct 14 '12 at 8:25

you can try the following to achieve what you want 1) in iptables check for the destination server and redirect the traffic to port 8080 2) in your apache server have a virtual host defined that listens on port 8080 3) as the directory index of this virtualhost have i file which calls the front controller of jira

share|improve this answer
I do not have an appache server (yet). – heinob Oct 14 '12 at 8:26

Not the answer you're looking for? Browse other questions tagged or ask your own question.