redirecting openemm from 80 to 8080

Use this forum for questions regarding installation, upgrading and configuration of OpenEMM

Moderator: moderator

jesskung
Posts: 4
Joined: Tue Oct 07, 2008 5:20 pm
Location: singapore
Contact:

redirecting openemm from 80 to 8080

Post 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
motorcycletalk
Posts: 4
Joined: Wed Feb 06, 2013 6:27 am

Re: redirecting openemm from 80 to 8080

Post 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:
Post Reply