Page 1 of 1

redirecting openemm from 80 to 8080

Posted: Tue Aug 07, 2012 1:59 am
by jesskung
Dear netizens

I am running openemm 6.2 on fedora 15 32-bit. I had followed the steps to configure the iptables file

/sbin/iptables -L -n
output is

Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination


---File: /etc/sysconfig/iptables---
*nat
:PREROUTING ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A PREROUTING -i eth+ -p tcp --dport 80 -j REDIRECT --to-port 8080
COMMIT
---File: /etc/sysconfig/iptables---

I restarted iptables, but connecting to port 80 returns

"Oops! Google Chrome could not connect to servername.domain.com"

Running this command returns

iptables -t nat -vnL PREROUTING

Chain PREROUTING (policy ACCEPT 43 packets, 3223 bytes)
pkts bytes target prot opt in out source destination
0 0 REDIRECT tcp -- eth+ * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 redir ports 8080

Any help is much appreciated.

thanks in advanced.

regards
Jessica

Re: redirecting openemm from 80 to 8080

Posted: Wed Feb 06, 2013 6:32 am
by motorcycletalk
Let me know if you stil need help here. I was able to use webmin to make this happen for my website http://www.motorcyclemarket.com/Motorcycle-Gear.aspx and we are going to start to use openemm for all email sends. Awaiting you reply.

Neil :idea: