Community discussions

MikroTik App
 
fahedksa
Member Candidate
Member Candidate
Topic Author
Posts: 107
Joined: Mon Nov 27, 2006 2:27 pm

Allow local web server to clients in MT

Wed Feb 20, 2008 2:46 pm

Hay,
I have 40 clients in my router MT and i want add my local webserver (ex. 10.0.0.153)
So any client can enter the ip in explorer http://10.0.0.153 to enter to my local web server

How i cluld allow that?
I want connection from all clients to these computer (10.0.0.153) wil get maximum bandiwth,How i can do that?

thanks to all
 
kthameen
Frequent Visitor
Frequent Visitor
Posts: 87
Joined: Wed Dec 21, 2005 4:22 am
Location: Leuven,Belgium

Re: Allow local web server to clients in MT

Wed Feb 20, 2008 6:03 pm

Salam fahed,

Without doing anything your clients should be able to log to the webserver, you can even make it simpler to your clients by letting them enter forexample http://myserver.com by adding the following

/ip dns static
add address=10.0.0.153 disabled=no name="myserver.com" ttl=1d

and for the second part I think you mean that you want your clients to connect without limitation which can be done by this rule

/queue simple
add comment="" direction=both disabled=no dst-address=10.0.0.153/32 \
interface=all limit-at=0/0 max-limit=0/0 name="Webserver" parent=none \
priority=8 queue=default-small/default-small target-addresses=0.0.0.0/0 \
total-queue=default-small

regards,
Khaled
 
fahedksa
Member Candidate
Member Candidate
Topic Author
Posts: 107
Joined: Mon Nov 27, 2006 2:27 pm

Re: Allow local web server to clients in MT

Thu Feb 21, 2008 9:35 am

Salam Khaled,
Thanks for your reply i will try it and reply later
With regards
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Allow local web server to clients in MT

Sat Feb 23, 2008 1:24 am

fahedksa, do you use Hotspot?
 
fahedksa
Member Candidate
Member Candidate
Topic Author
Posts: 107
Joined: Mon Nov 27, 2006 2:27 pm

Re: Allow local web server to clients in MT

Tue Mar 04, 2008 10:31 am

Yes, I use hotspot
i try from clients go to 10.0.0.153 but its not working.
Where the problem?
 
fahedksa
Member Candidate
Member Candidate
Topic Author
Posts: 107
Joined: Mon Nov 27, 2006 2:27 pm

Re: Allow local web server to clients in MT

Tue Mar 04, 2008 5:58 pm

Any help guys ?
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Allow local web server to clients in MT

Tue Mar 04, 2008 6:44 pm

did you added 10.0.0.153 to the walled garden?
 
fahedksa
Member Candidate
Member Candidate
Topic Author
Posts: 107
Joined: Mon Nov 27, 2006 2:27 pm

Re: Allow local web server to clients in MT

Tue Mar 04, 2008 6:53 pm

No ,Becuase i want firstful any client want to go to 10.0.0.153 must be already loggin the MT first
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Allow local web server to clients in MT

Tue Mar 04, 2008 6:59 pm

hmmm... is your server logged in MT? :D maybe set MAC authentication for him?
 
fahedksa
Member Candidate
Member Candidate
Topic Author
Posts: 107
Joined: Mon Nov 27, 2006 2:27 pm

Re: Allow local web server to clients in MT

Wed Mar 05, 2008 8:50 am

thes MAC address of web server already in ip-binding and i can browse net througt it without any problem.
May be the rules in Mangle or Nat affect?

[admin@speed] ip firewall mangle> print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=forward src-address=10.0.0.0/24 action=mark-connection new-connection-mark=users-con passthrough=yes

1 chain=forward connection-mark=users-con action=mark-packet new-packet-mark=users passthrough=yes


[admin@speed] ip firewall nat> print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=dstnat in-interface=internal dst-address=!10.0.0.1 protocol=tcp dst-port=80 action=redirect to-ports=8080

1 chain=srcnat out-interface=ll action=masquerade
 
User avatar
vetusa2
Member Candidate
Member Candidate
Posts: 119
Joined: Sat Jun 18, 2011 8:24 pm

Re: Allow local web server to clients in MT

Thu Jun 23, 2011 10:28 pm

what about me?

it worked but the download speed from the webserver is at 15kb only!

please help

Who is online

Users browsing this forum: BoraHorza, girishg, Google [Bot], sas2k and 170 guests