電訊茶室's Archiver

角色 發表於 2013-1-2 23:37

【RouterOS】——WAN=DHCP client, LAN=router without DHCP server

[i=s] 本帖最後由 角色 於 2013-3-9 21:13 編輯 [/i]

[code]
/inteface ethernet
add 2 name=Public
add 10 name=Local
[/code][code]
/ip dhcp-clinet
add interface=Public disabled=no
[/code][code]
print detail
0   interface=Public add-default-route=yes default-route-distance=1
     use-peer-dns=yes use-peer-ntp=yes status=bound address=168.70.xxx.yyy/24
     gateway=168.70.xxx.yyy dhcp-server=58.153.xxx.yyy
     primary-dns=218.102.32.134 secondary-dns=219.76.98.66
     expires-after=27m56s
[/code][code]
/ip address
add address=192.168.100.1/24 interface=Local
[/code][code]
/ip firewall nat
add action=masquerade chain=srcnat out-inteface=Public
[/code]PC TCP/IP setting

host IP=192.168.100.2
netmask = 255.255.255.0
gateway = 192.168.100.1
dns=8.8.8.8

hklkf 發表於 2014-10-17 12:59

how to set wan access webfig port 80

角色 發表於 2014-10-17 13:50

I do not use webfig to connect the router. I often use winbox to connect my RB.

hklkf 發表於 2014-10-17 15:11

ok{:4_150:}

角色 發表於 2014-10-19 20:33

你成功了没有?估计你要在firewall里加一条rule能然你的port 80进来后,才能从WAN Port坐webfig。

hklkf 發表於 2014-10-22 20:14

done:D:lol

角色 發表於 2014-10-22 22:18

[b]回復 [url=http://www.telecom-cafe.com/forum/redirect.php?goto=findpost&pid=39591&ptid=5146]6#[/url] [i]hklkf[/i] [/b]

你用什么RB呢?

hklkf 發表於 2014-10-23 00:42

951 & routeros x86

頁: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.