Hi,
Ok, I just KNOW that when you folks read this you will immediately know what I'm doing wrong, and I will feel stupid for making a silly mistake, but here goes!
AT home, I have Ubuntu 12.04 as my firewall, using IPTABLES. It also runs a web server for a captive portal.
Behind the firewall, I have a Windoze 2K8 box which I use as a Media Server running PLEX. All this works fine and I have an IPTABLES rule to allow access to plex from outside.
Ok, I am looking at implimenting my own Cloud-based storage, using OwnCloud. For reasons of availablilty of disk space, I have installed it alongside PLEX on the 2K8 box. It runs on IIS, which I have on port 85.
From within my network, I can access OWNCLOUD fine, so I know IIS is behaving.
I have 4 lines in my IPTABLES config (2 logging for testing) thus:
Code:
-A PREROUTING -p tcp -m tcp -i eth0 --dport 32400 -j LOG --log-prefix **PLEX**
-A PREROUTING -p tcp -m tcp -i eth0 --dport 32400 -j DNAT --to-destination 192.168.1.2:32400
-A PREROUTING -p tcp -m tcp -i eth0 --dport 85 -j LOG --log-prefix **OWNCLOUD**
-A PREROUTING -p tcp -m tcp -i eth0 --dport 85 -j DNAT --to-destination 192.168.1.2:85
Now, I know the traffic is making it to the firewall, because if I GREP for OWNCLOUD in SYSLOG, I get:
Quote:
May 22 11:08:06 puddinglane kernel: [520430.190639] **OWNCLOUD**IN=eth0 OUT= MAC=xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx SRC=sss.sss.sss.sss DST=ddd.ddd.ddd.ddd LEN=52 TOS=0x00 PREC=0x00 TTL=109 ID=17196 DF PROTO=TCP SPT=15040 DPT=85 WINDOW=8192 RES=0x00 SYN URGP=0
May 22 11:08:12 puddinglane kernel: [520436.186047] **OWNCLOUD**IN=eth0 OUT= MAC=xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx SRC=sss.sss.sss.sss DST=ddd.ddd.ddd.ddd LEN=48 TOS=0x00 PREC=0x00 TTL=109 ID=17235 DF PROTO=TCP SPT=15040 DPT=85 WINDOW=8192 RES=0x00 SYN URGP=0
|
But the browser times out waiting!
Like I said, PLEX works fine, so I thought my port forwarding syntax was fine. I'm sure it's something stupid and obvious, but I can't, for the life of me, see it!
HELP!!!
TIA