IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 24th, 2007, 06:41 AM
twistedtwig's Avatar
twistedtwig twistedtwig is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Location: Horsham - England
Posts: 302 twistedtwig User rank is Sergeant (500 - 2000 Reputation Level)twistedtwig User rank is Sergeant (500 - 2000 Reputation Level)twistedtwig User rank is Sergeant (500 - 2000 Reputation Level)twistedtwig User rank is Sergeant (500 - 2000 Reputation Level)twistedtwig User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 4 Days 4 h 39 m 8 sec
Reputation Power: 23
IIS permissions with portfowarding

Hi all,

I am not sure why this is not working and would really like some advice and help please.

I have an Ubuntu box acting as my main server doing firewall and website with PHP etc. I have a small 2003 box inside the network where I am playing with .NET. The only way I could figure out how to get both web servers running at the same time was to use portforwarding to the windows box. i.e:

http://houseofhawkins.com = Ubuntu

http://houseofhawkins.com:8866 = windows box.

the windows box is still running on port 80 and I can test it and get the site up happily from inside my network, but when I put that url in it wont display:

Quote:
Firefox can't establish a connection to the server at houseofhawkins.com:8866.


I have done: http://www.canyouseeme.org/ and it says it can see the port and the service but no page is displayed.

This leads me to think that IIS is blocking it externally or something. I have NO idea how to figure this out and am really stuck now.

Any and all advice would be SO welcome.

Thank you in advance
__________________
Cheers

Twiggy - http://www.houseofhawkins.com

Reply With Quote
  #2  
Old June 25th, 2007, 12:54 AM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 13th Plane (11000 - 11499 posts)
 
Join Date: Jun 2003
Posts: 11,141 Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 2 Days 17 h 15 m 54 sec
Reputation Power: 857
If IIS is running on port 80, where are you translating incoming traffic from port 8866 to port 80?
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
  #3  
Old June 25th, 2007, 02:32 AM
twistedtwig's Avatar
twistedtwig twistedtwig is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Location: Horsham - England
Posts: 302 twistedtwig User rank is Sergeant (500 - 2000 Reputation Level)twistedtwig User rank is Sergeant (500 - 2000 Reputation Level)twistedtwig User rank is Sergeant (500 - 2000 Reputation Level)twistedtwig User rank is Sergeant (500 - 2000 Reputation Level)twistedtwig User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 4 Days 4 h 39 m 8 sec
Reputation Power: 23
sorry I didn't put that. I use IP tables for my firewall on the Ubuntu box. I have the following rule:

$IPTABLES -A PREROUTING -t nat -i $EXTIF -p tcp --dport 8866 -j DNAT --to 192.168.10.100:80
$IPTABLES -A FORWARD -p tcp -m state --state NEW -d 192.168.10.100 --dport 80 -j ACCEPT

the windows box has a static IP of 192.168.10.100. I use port forwarding in a couple of other places with the same info (basically) so I am pretty sure the rule is perfectly ok.

Reply With Quote
  #4  
Old June 25th, 2007, 08:56 AM
twistedtwig's Avatar
twistedtwig twistedtwig is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Location: Horsham - England
Posts: 302 twistedtwig User rank is Sergeant (500 - 2000 Reputation Level)twistedtwig User rank is Sergeant (500 - 2000 Reputation Level)twistedtwig User rank is Sergeant (500 - 2000 Reputation Level)twistedtwig User rank is Sergeant (500 - 2000 Reputation Level)twistedtwig User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 4 Days 4 h 39 m 8 sec
Reputation Power: 23
I am wondering if it is because I was in the local network. I seem to remember a similar problem somewhere where it worked for outside the network but not inside....

I can not test this at the moment as my work is kind enough to block all but port 80 so I will test windows.houseofhawkins.com later (if someone reads this before I post again and feels kind could they see if they get a naf looking site appear please?).. this site is VERY much still in production (eary stages).. just want to ensure I have the links working correctly.

Thanks

Reply With Quote
  #5  
Old June 25th, 2007, 02:38 PM
twistedtwig's Avatar
twistedtwig twistedtwig is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Location: Horsham - England
Posts: 302 twistedtwig User rank is Sergeant (500 - 2000 Reputation Level)twistedtwig User rank is Sergeant (500 - 2000 Reputation Level)twistedtwig User rank is Sergeant (500 - 2000 Reputation Level)twistedtwig User rank is Sergeant (500 - 2000 Reputation Level)twistedtwig User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 4 Days 4 h 39 m 8 sec
Reputation Power: 23
just tested it from brother works vpn.. it does work.. it was a werid issue of my local dns i think.. my work blocks all other ports so I couldnt see it there either.

but its all alive now

Reply With Quote
  #6  
Old June 25th, 2007, 05:53 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 13th Plane (11000 - 11499 posts)
 
Join Date: Jun 2003
Posts: 11,141 Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 2 Days 17 h 15 m 54 sec
Reputation Power: 857
I'm glad you got it working.

btw, I've use rinetd in Fedora as a simpler-to-configure TCP port redirector as an alternative to changing iptables.

Reply With Quote
  #7  
Old June 25th, 2007, 06:53 PM
twistedtwig's Avatar
twistedtwig twistedtwig is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Location: Horsham - England
Posts: 302 twistedtwig User rank is Sergeant (500 - 2000 Reputation Level)twistedtwig User rank is Sergeant (500 - 2000 Reputation Level)twistedtwig User rank is Sergeant (500 - 2000 Reputation Level)twistedtwig User rank is Sergeant (500 - 2000 Reputation Level)twistedtwig User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 4 Days 4 h 39 m 8 sec
Reputation Power: 23
Thanks for the info.. looks interesting.. wish I could find a way to truly mask the fact that I have to put the request into another port.... ( I have dynamic dns with easydns.com) I tried setting up a subdomain and just forwarding that to the normal server and use the virtual host to forward it to the other machine but with no joy...

that would get rid of the need for a different port and the problem of ports being blocked.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > IIS permissions with portfowarding


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT