【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 how to set wan access webfig port 80 I do not use webfig to connect the router. I often use winbox to connect my RB. ok{:4_150:} 你成功了没有?估计你要在firewall里加一条rule能然你的port 80进来后,才能从WAN Port坐webfig。 done:D:lol [b]回復 [url=http://www.telecom-cafe.com/forum/redirect.php?goto=findpost&pid=39591&ptid=5146]6#[/url] [i]hklkf[/i] [/b]
你用什么RB呢? 951 & routeros x86
頁:
[1]