Подобие IIS Web farm на Mikrotik

Задача: Заменить IIS Web farm на mikriotik.
Минус реализации: Если на одном из серверов упадет веб-сервер, то этот сервер не исключается, т. к. используются icmp запросы.

IP — Web Proxy
Chack «Enable»
Src. Address: xxx.xxx.xxx.xxx (external mikrotik)
Port: 8080
Cache Administrator: webmaster
Max. Cache Size: unlimited KiB
Uncheck «Cache On Disk»
Max. Client Connections: 600
Max. Server Connections: 600
Max Fresh Time: 00:00:01
Uncheck «Serialize Connections» & «Always From Cache»
Cache Hit DSCP (TOS): 4
Cache Drive: system

IP — Web Proxy — Access
Add
Dst. Port: 80
Action: allow
Comment: Enable HTTP Connection

Add
Dst. Port: 23-25
Action: deny
Comment: block telnet & spam e-mail relaying

DNS — Static — min 2 servers
Add
Name: example.contos.com
Address: xxx.xxx.xxx.xxx (internal server)
TTL: 00:00:05

Tools — Netwatch — min 2 servers
Add
Host
Host: xxx.xxx.xxx.xxx (internal server)
Interval: 00:00:05
Timeout: 100 ms
Status: up
Up
/ip dns static enable numbers=[find where address=xxx.xxx.xxx.xxx (internal server)]
Down
/ip dns static disable numbers=[find where address=xxx.xxx.xxx.xxx (internal server)]

IP — Firewall — Nat
Add
General
Chain: dstnat
Dst: Address: xxx.xxx.xxx.xxx (external mikrotik)
Protokol: 6 (tcp)
dst. Port: 80
Action
Action: redirect
To Ports: 8080

Поделиться
Отправить
2013   iis   mikrotik