Community discussions

MikroTik App
 
User avatar
winagain
Member Candidate
Member Candidate
Topic Author
Posts: 256
Joined: Sat Jul 15, 2006 10:18 pm
Location: Botswana
Contact:

Need help setting up Ros to route to web server on lan.

Mon Apr 30, 2007 1:11 am

Hi all,

I have the following setup.

Ether1 IP : 10.77.204.xxx
Wlan 1 : 192.168.1.xxx
Wlan 2 : 192.168.2.xxx
Wlan 3 : 192.168.3.xxx

Nat setup :

Src nat --> masquarade

PPPOE server with static local ip's for clients

Queues work fine and everything is working clients can access internet...no problem.

What I would like to do is setup a web and mail server on my pc that connects through a pppoe connection with the ip address assigned by the server which is static.

How do I go about setting up the router so that people can access the server from the internet.

I don't have much knowlege on ROS, very basics only, so a step by step would be appreciated. Winbox interface would be an advantage.

If you need exact setup i can export the setup and post here.
 
ptsip
newbie
Posts: 43
Joined: Fri Jan 20, 2006 7:17 pm

Mon Apr 30, 2007 9:18 pm

On /ip firewall nat, using dstnat on chain, for example:

chain=dstnat in-interface=Public dst-port=110 protocol=tcp dst-address-list=your-public-ip action=dst-nat to-addresses=your-internal-ip to-ports=0-65535
 
User avatar
winagain
Member Candidate
Member Candidate
Topic Author
Posts: 256
Joined: Sat Jul 15, 2006 10:18 pm
Location: Botswana
Contact:

Ip Addresses for setup

Tue May 01, 2007 12:12 pm

Hi, Thanx for the quick reply

I will try out now, and get back to you.
 
User avatar
winagain
Member Candidate
Member Candidate
Topic Author
Posts: 256
Joined: Sat Jul 15, 2006 10:18 pm
Location: Botswana
Contact:

Still not working

Tue May 01, 2007 12:55 pm

Just to mention our back bone is run from Vsat, and we have been issued a Dynamic Public IP.

It does not change often but does change.

Our Setup

INTERNET--->ISP--->SAT--->VSAT ROUTER--->MIKROTIK ROS--->WEBSERVER

mikrotik ros ether1 ip is 10.77.204.193 and the web server is 192.168.3.5
 
cmacneill
Member Candidate
Member Candidate
Posts: 293
Joined: Sun Apr 01, 2007 10:51 pm
Location: Christchurch, New Zealand

Tue May 01, 2007 3:55 pm

If the address of your MT router is 10.x.x.x, this is a private address, not a public one, you won't be able to connect direct to this from the Internet.

My experience of Satellite routers is that they do their own Network Address Translation, so you may need to implement port forwarding rules there too. Your Satellite router will almost certainly have a static public IP address.

I don't know what your Satellite service is, but probably not more then 256K upload, so don't forget this is the maximum speed anyone on the Internet will get from your Webserver, not really recommended. If your website becomes even mildly popular it will swamp your connection. The upload speed of a Satellite connection is usually only just enough to handle the ACK packets for TCP connections and isn't really intended to provide bandwidth sufficient to host servers. If you have a 2Mbit download connection using TCP, the ACK packets returned over the upload will be around 10% of this so around 200Kbits/s are used from your upload bandwidth, just to acknowledge downloaded packets.

In the end I found it easier to have a server based in a hosting centre with a proper static Public IP address, so no problems accessing it from anywhere.


Regards


Chris Macneill
 
User avatar
winagain
Member Candidate
Member Candidate
Topic Author
Posts: 256
Joined: Sat Jul 15, 2006 10:18 pm
Location: Botswana
Contact:

The intended use is not for public viewing.

Tue May 01, 2007 8:26 pm

Hi thanks for the reply

So you basically saying that it is pointless having the server there in the first place.

Thanks though....I'll through in the towel untill ADSL gets to us...End of this Month ....then we will have better connection for server as well as online gaming :D !!!

Thanks all that replied
 
cmacneill
Member Candidate
Member Candidate
Posts: 293
Joined: Sun Apr 01, 2007 10:51 pm
Location: Christchurch, New Zealand

Wed May 02, 2007 2:07 am

I doubt that ADSL will help, the A stands for asymmetric so you will still only get a low upload rate. The best you can get in the UK is 832Kbits/s, so I doubt you'll get more than that.

There are really only three solutions:-
  • 1. Use SDSL if available, but usually very expensive.
    2. Bond multiple ADSL channels to get higher aggregate upload speed, but you need a local ISP that supports ML-PPP.
    3. Host your server at a hosting centre, probably the cheapest and most effective solution, almost everyone does it this way. The are plenty of hosting services, it doesn't have to be in Bostwana, although I'm sure you must have local suppliers. If you shop around it can cost as little as USD10 per month to host a site.
Regards

Chris Macneill
 
User avatar
winagain
Member Candidate
Member Candidate
Topic Author
Posts: 256
Joined: Sat Jul 15, 2006 10:18 pm
Location: Botswana
Contact:

ADSL SPEED

Wed May 02, 2007 2:34 am

Hi again

I don't think my site will require such speed at this stage, as it is a relativly small site, and no downloads are made available.

Basically I am planning on doing this as a learning curve, and when available technology actually reaches us here at the far end of the earth :D.

Basically when speed is available I would like to start a hosting company for people here, but I would need to learn the ins and outs of the server, and which would be the best and so on.

But I will only be able to do this when ADSL does reach us, which I hear is the end of this Month.

Anyways thanks for the help, I think I will be able to manage to set this up, as the only thing that is holding up such a setup is that the SAT router of which I do not know how to setup, and don't think I am interested in learning as you say that it would not really help.

So for now all I can do is wait for ADSL.

Thanks for the info though, it was informative.

Who is online

Users browsing this forum: yawpyng and 18 guests