I\'m running Ubuntu 11.10 and have run sudo apt-get install jenkins to install Jenkins on this system.
I\'ve seen some tutorials on how to setup a rever
In Ubuntu 16.04, this wiki explains how to do it.
sudo nano /etc/rc.local
Then add the following just before the exit 0
#Requests from outside
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 8080
#Requests from localhost
iptables -t nat -I OUTPUT -p tcp -d 127.0.0.1 --dport 80 -j REDIRECT --to-ports 8080
Now reboot or run sudo /etc/rc.local to enable port forwarding