Odoo - OpenERP - How to Redirect Odoo Port 8069 to 80 using rc.local or iptables NAT ?

Support
Support
5000
| 2 1 2
Asked on 8/25/15, 1:32 PM
0
vote
3354 Views

Shown below will redirect below 3 ports (use one line for one port)

8069 > 80

7069 > 70

9069 > 90

sudo nano /etc/rc.local
iptables -t nat -A PREROUTING -p tcp --dport 70 -j REDIRECT --to-port 7069
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8069
iptables -t nat -A PREROUTING -p tcp --dport 90 -j REDIRECT --to-port 9069
sudo reboot

Support
Support
5000
| 2 1 2
Answered on 8/25/15, 1:33 PM
0
vote

Your answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

Ask a Question

Keep Informed

About This Forum

This forum is for HiTechnologia Employees & just Odoo general knowledge purpose only.

Read Guidelines

Question tools

3 follower(s)

Stats

Asked: 8/25/15, 1:32 PM
Seen: 3354 times
Last updated: 8/25/15, 1:33 PM