odoo remove 8069

/etc/openerp/openerp-server.conf

/etc/rc.local

add

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

#!/bin/bash
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8069
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 443 -j REDIRECT --to-port 8070
iptables-save

Leave a Reply

Your email address will not be published. Required fields are marked *