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 an Ubuntu server (10.04) running nat and I understand how to forward ports using iptables which works fine and is only mildly painful. What is "the easy way" of doing this? Is there some nice wiz-bang-network-tool (like ufw) that makes simple port forwarding super simple.

share|improve this question

There's plenty of web-based script generators that'll help you get your initial iptables rules setup for you; once you've created your base rules, it's trivial to edit and make changes afterwards. Once you get the hang of it, you won't need (and likely won't want) a GUI anymore:

Firewall Builder 4.0 (open source, Windows/Linux/Mac OSX/BSD) looks interesting and could be useful for managing large deployments and/or complex rules:

Shorewall's been around for a while too and looks promising (haven't tried it either).

share|improve this answer
+1 for shorewall, it's really good. – Prof. Falken Feb 11 '12 at 23:13

check out ipkungfoo.

or ..use shorewall but with the addition of webmin. webmins interface for shorewall is quite excellent.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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