返回列表 發帖

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

本帖最後由 角色 於 2013-3-9 21:13 編輯
  1. /inteface ethernet
  2. add 2 name=Public
  3. add 10 name=Local
複製代碼
  1. /ip dhcp-clinet
  2. add interface=Public disabled=no
複製代碼
  1. print detail
  2. 0   interface=Public add-default-route=yes default-route-distance=1
  3.      use-peer-dns=yes use-peer-ntp=yes status=bound address=168.70.xxx.yyy/24
  4.      gateway=168.70.xxx.yyy dhcp-server=58.153.xxx.yyy
  5.      primary-dns=218.102.32.134 secondary-dns=219.76.98.66
  6.      expires-after=27m56s
複製代碼
  1. /ip address
  2. add address=192.168.100.1/24 interface=Local
複製代碼
  1. /ip firewall nat
  2. add action=masquerade chain=srcnat out-inteface=Public
複製代碼
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

TOP

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

TOP

ok

TOP

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

TOP

done

TOP

回復 6# hklkf

你用什么RB呢?

TOP

951 & routeros x86

TOP

返回列表