#!/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
Permanent in system by:
$sudo vi /etc/rc.local
References:
https://www.odoo.com/forum/help-1/change-to-port-80-instead-of-8069-23031
No comments:
Post a Comment