Change port forwarding

Ask all your questions regarding OC 4.x and older. Please read the Support Forum Rules
Forum rules
Before you post; make sure you are using at least PHP Version 5.3.x - Also read How To Solve Problems By Yourself

Re: Change port forwarding

Postby neilstarling » Sun Jun 03, 2012 10:46 am

Hi Marty,
yeah have done that.

po.jpg
po.jpg (76.71 KiB) Viewed 352 times


owncloud.jpg
owncloud.jpg (78.77 KiB) Viewed 352 times


but it does not change the fact both virtual machines are listening on port 80 and the router is not telling owncloud 192.168.1.88 to listen on port 81. There is nowhere in the router config to allow you to enter anything other than just the ip address. i.e. you can't enter 192.168.1.88:81

In your example if I could add 192.168.1.88:81, then yes the problem would probably be solved. Am I right in thinking that on other routers you can configure the router to redirect as below:

outside request to router:81 = 192.168.1.88:81 = 192.168.1.88

thanks again....
neilstarling
Newbie
 
Posts: 5
Joined: Fri Jun 01, 2012 8:46 am

Re: Change port forwarding

Postby marty » Sun Jun 03, 2012 8:44 pm

neilstarling wrote:but it does not change the fact both virtual machines are listening on port 80

That is no problem and has nothing to do with port forwarding...

neilstarling wrote:and the router is not telling owncloud 192.168.1.88 to listen on port 81.
Which would be a) complete nonsens and b) ab-so-lute-ly not necessary.

neilstarling wrote:Am I right in thinking that on other routers you can configure the router to redirect as below:
outside request to router:81 = 192.168.1.88:81 = 192.168.1.88

Yes. On each and every router I have ever seen you can freely choose which external port you want forwarded to which port on an internal IP. The guide to which I linked in my last post explained it more or less...

Perhaps your router is crippled to not let you do this?
Try this, create the following two rules:
80-80.jpg
Forward external port 80 to internal port 80
80-80.jpg (53.98 KiB) Viewed 347 times

81-80.jpg
Forward external port 81 to internal port 80
81-80.jpg (53.22 KiB) Viewed 347 times

You then assign one rule to VM1 and the other one to VM2 - that's all and you should be set.

If this does not work, please ask a random network admin.
It should be a matter of minutes to set this up, at least if it is possible with your router.
marty
Starter
 
Posts: 72
Joined: Tue Mar 20, 2012 1:40 pm

Re: Change port forwarding

Postby neilstarling » Mon Jun 04, 2012 10:53 am

Marty, thanks so much. Works a treat. Like a lemming I have always put in there 80 to 80, xxx to xxx. Like most of this stuff it is so obvious after it is pointed out to you!! Even after 30 odd years self taught at this lark, you never stop learning. thanks again. Neil
neilstarling
Newbie
 
Posts: 5
Joined: Fri Jun 01, 2012 8:46 am

Re: Change port forwarding

Postby marty » Mon Jun 04, 2012 11:18 am

Glad it works :D :D
marty
Starter
 
Posts: 72
Joined: Tue Mar 20, 2012 1:40 pm

Previous

Return to OwnCloud Community Edition 4.x and older

Who is online

Users browsing this forum: Bing [Bot] and 2 guests