|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
×
两条ADSL外线对应两个WAN.
内网IP192.168.1.1
做了NAT和MANGLE,可以通过两个WAN上网!
问题:我现在需要在内网上做个PPPOE拨入服务,可是拨入后的用户无法上网,那个高手给指点下,以下是我的配置:
[admin@MikroTik] > interface
[admin@MikroTik] interface> print
Flags: X - disabled, D - dynamic, R - running
# NAME TYPE RX-RATE
0 R lan ether 0
1 R wan1 ether 0
2 R wan2 ether 0
3 R pppoe-out1 pppoe-out 0
4 R pppoe-out2 pppoe-out 0
5 pppoe-in1 pppoe-in 0
[admin@MikroTik] ppp> profile print
Flags: * - default
0 * name="default" use-compression=default use-vj-compression=
use-encryption=default only-one=default change-tcp-mss=yes
1 name="pppoe profile" local-address=nei remote-address=nei
use-vj-compression=default use-encryption=default only-one
change-tcp-mss=default dns-server=61.134.1.4,218.30.19.40
2 * name="default-encryption" use-compression=default use-vj-c
use-encryption=yes only-one=default change-tcp-mss=yes
[admin@MikroTik] ip firewall nat> print
Flags: X - disabled, I - invalid, D - dynamic
0 ;;; 2
chain=srcnat connection-mark=2 action=src-nat to-addresses
to-ports=0-65535
1 ;;; 1
chain=srcnat connection-mark=1 action=src-nat to-addresses
to-ports=0-65535
[admin@MikroTik] ip firewall mangle> print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=prerouting in-interface=lan connection-state=new nth
action=mark-connection new-connection-mark=1 passthrough=y
1 chain=prerouting in-interface=lan connection-mark=1 action
new-routing-mark=1 passthrough=no
2 chain=prerouting in-interface=lan connection-state=new nth
action=mark-connection new-connection-mark=2 passthrough=y
3 chain=prerouting in-interface=lan connection-mark=2 action
new-routing-mark=2 passthrough=no
[admin@MikroTik] ip route> print
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf
# DST-ADDRESS PREF-SRC G GATEWAY DIS
0 ADC 125.76.202.1/32 125.76.203.205
1 DC 125.76.202.1/32 125.76.203.209
2 ADC 125.76.203.205/32 125.76.203.205
3 ADC 125.76.203.209/32 125.76.203.209
4 ADC 192.168.1.0/24 192.168.1.1
5 A S ;;; 2
0.0.0.0/0 r 125.76.203.209
6 A S ;;; 1
0.0.0.0/0 r 125.76.203.205
7 AD 0.0.0.0/0 r 125.76.202.1 1
8 D 0.0.0.0/0 r 125.76.202.1 1 |
|