Сайт: http://www.pskovline.ru/
Тарифы | Подключенные дома
Есть игровые сервера, внутренний форум.
Плюс бесплатно локальные ресурсы!
Сообщение отредактировал 7ion: 23.11.2010 - 22:49
Отправлено 10.09.2006 - 14:05
Сообщение отредактировал 7ion: 23.11.2010 - 22:49
Отправлено 02.10.2013 - 20:28
narodnaya (02.10.2013 - 20:18) писал:
Russ (02.10.2013 - 20:22) писал:
Сообщение отредактировал Anton: 02.10.2013 - 20:28
Отправлено 02.10.2013 - 20:32
Anton (02.10.2013 - 20:28) писал:
Сообщение отредактировал narodnaya: 02.10.2013 - 20:33
Отправлено 02.10.2013 - 20:41
-------------------------------------------------------------------------------- You can type "v" to see the exact commands that are used to add and remove this default configuration, or you can view them later with '/system default-configuration print' command. To remove this default configuration type "r" or hit any other key to continue. If you are connected using the above IP and you remove it, you will be disconne. ------------------------------------------------------------------------------- #| ether1 is renamed ether1-gateway, rest of interfaces are bridged #| IP address 192.168.88 #| DHCP client is on ether1-gateway #| DHCP server is on bridge, with address pool 192.168.88.10-192.168.88.254 #| masquerade on ether1-gateway :global action # these commands are executed after installation or configuration reset :if ($action = "apply") do={ /interface set ether1 name=ether1-gateway /interface set ether2 name=ether2-local /interface set ether3 name=ether3-local /interface set ether4 name=ether4-local /interface set ether5 name=ether5-local /interface bridge add name=brid /interface bridge port add interface=ether2-local bridge=bridge /interface bridge port add interface=ether3-local bridge=bridge /interface bridge port add interface=ether4-local bridge=bridge /interface bridge port add interface=ether5-local bridge=bridge /ip address add address=192.168.88.1/24 interface=ether2-local comment="def" :if ([:len [/system package find name="dhcp" !disabled]] != 0) do={ /ip dhcp-client add interface=ether1-gateway disabled=no comment="defau; /ip pool add name=default-dhcp ranges=192.168.88.10-192.168.88.254; /ip dhcp-server add name=default address-pool=default-dhcp interface=br; /ip dhcp-server network add address=192.168.88.0/24 gateway=192.168.88.; } /ip firewall { filter add chain=input action=accept protocol=icmp comment="default con" filter add chain=input action=accept connection-state=established in-in" filter add chain=input action=accept connection-state=related in-interf" filter add chain=input action=drop in-interface=ether1-gateway comment=" nat add chain=srcnat out-interface=ether1-gateway action=masquerade com" } /ip dns { set allow-remote-requests=yes static add name=router address=192.168.88.1 } /tool mac-server set [find] disabled=yes } # these commands are executed if user requests to remove default configuration :if ($action = "revert") do={ /ip firewall { :local o [nat find comment="default configuration"] :if ([:len $o] != 0) do={ nat remove $o } :local o [filter find comment="default configuration"] :if ([:len $o] != 0) do={ filter remove $o } } :if ([:len [/system package find name="dhcp" !disabled]] != 0) do={ :local o [/ip dhcp-server network find comment="default configuration"] :if ([:len $o] != 0) do={ /ip dhcp-server network remove $o } :local o [/ip dhcp-server find name="default" address-pool="default-dhc] :if ([:len $o] != 0) do={ /ip dh /ip pool { :local o [find name=default-dhcp ranges=192.168.88.10-192.168.88.25] :if ([:len $o] != 0) do={ remove $o } } :local o [/ip dhcp-client find comment="default configuration"] :if ([:len $o] != 0) do={ /ip dhcp-client remove $o } } /ip dns { set allow-remote-requests=no :local o [static find name=router address=192.168.88.1] :if ([:len $o] != 0) do={ static remove $o } } /ip address { :local o [find comment="default configuration"] :if ([:len $o] != 0) do={ remove $o } } /interface bridge { :local o [port find bridge=bridge] :if ([:len $o] != 0) do={ port remove $o } :local o [find name=bridge] :if ([:len $o] != 0) do={ remove $o } } /tool mac-server set [find] disabled=no /interface set ether1-gateway name=ether1 /interface set ether2-local name=ether2 /interface set ether3-local name=ether3 /interface set ether4-local name=ether4 /interface set ether5-local name=ether5 }
Сообщение отредактировал Russ: 03.10.2013 - 16:59
Отправлено 02.10.2013 - 21:27
Отправлено 03.10.2013 - 14:17
Сообщение отредактировал graffiti: 03.10.2013 - 14:21
Отправлено 03.10.2013 - 14:32
Russ (02.10.2013 - 20:41) писал:
/interface bridge port add interface=ether2-local bridge=bridge /interface bridge port add interface=ether3-local bridge=bridge /interface bridge port add interface=ether4-local bridge=bridge /interface bridge port add interface=ether5-local bridge=bridge /ip address add address=192.168.88.1/24 interface=ether2-local comment="def"
Отправлено 03.10.2013 - 19:21
Russ (03.10.2013 - 17:01) писал:
Отправлено 03.10.2013 - 19:36
graffiti (03.10.2013 - 19:21) писал:
Отправлено 03.10.2013 - 21:02
Anton (03.10.2013 - 19:39) писал:
Отправлено 03.10.2013 - 22:47
XmaN (03.10.2013 - 21:02) писал:
0 пользователей, 15 гостей, 0 скрытых пользователей