Koozali.org: home of the SME Server

Portforwarding howto on 6.0.1-01?

sam

Portforwarding howto on 6.0.1-01?
« on: April 22, 2004, 08:56:21 AM »
I've got a 6.0.1-01 sme box housing a domain and inside the lan there is another sme box whos IP is 192.168.1.3. I want to get access to an ibay on the internal sme box from the internet. So I configure it as follows in portforwarding:

Protocol:   TCP
Source Port(s): 929
Destination Host IP Address: 192.168.1.3
Destination Port(s) Action: Remove

And I should be able to get it via:
http://mydomain:929
But it doesn't work.
Have I done something stupid?
Can I check its actually working from the inside lan or do I have to go on the outside and do a:
http://mydomain:929
(which btw I have done and it doesn't work)
Also how do I point it directly to an ibay. Will:
Destination Host IP Address: 192.168.1.3/ibayname
work?

regards
sam

Offline electroman00

  • *****
  • 491
  • +0/-0
Portforwarding howto on 6.0.1-01?
« Reply #1 on: April 22, 2004, 04:27:41 PM »
What are you using port 929 for?

gbaird

remote access
« Reply #2 on: April 22, 2004, 04:49:56 PM »
Hello

you may be able to do this with port-forwarding if your first sme box is in gateway mode or maybe with a hostname re-direct
from sme box 1 not at a sme box right now but check the hostname settings and add a new host ie: box2.domain.com and set the ip address to point to your box 2 that will only get you to the Primary html folder but in box 2 you can set the content box
in the domain page to point to an ibay of your choice

I think this will work but box 1 may have to be in gateway mode
for the forwarding to work

hope this helps

Ed

Portforwarding howto on 6.0.1-01?
« Reply #3 on: April 22, 2004, 08:09:28 PM »
Well.. What you are trying to do is very dangerous.
The best idea would be to PPTP in and access the
internal machine through the tunnel.

Otherwise, if you still insist in port forwarding,
you will need to port forward 929 to internal host and destination port 80.  But this gives you access to the http server on the destination box along with everyone else.  You also get access to all the ibays.  Finally, you may need to change the permission on the ibay to give access to the internet.

Ed