AKSN74 wrote:這邊又想請教一個問題...(恕刪) pctine大有整理出Eoip Tunnel的VPN ,透過Eoip即使兩地相距遠地,也可以將一端模擬成Switch直接配給dhcp-ip.區域網路一定要同個Server配給ip ,才能用名稱連接.目前ROS能辦得到的VPN Tuunel應該只有Eoip或OVPN(ethernet-mode),其它應該都沒辦法.
各位前輩,目前小弟無能為力 ...忙了一天,連個PPPOE 的固定IP都出不去 ...版上的文章也搜尋過了,賣家富的光碟裏面也找過我是跟著板上 PPPOE的步驟一步一步做,但出去還是浮動IP不然就是設定完之後就沒網路了 XDDDD我知道我資質太差,這東西學校也沒教,只能靠網路教學可否再給點提示。
AKSN74 wrote:為了要存取A地的資料 所以B地跟C地都以VPN的方式連線(以SSTP為主)且配發上的IP為A地的DHCP IP 為了存取A地的資料, B & C & A 要建 VPN, 那麼它們的網段就會不同, 根本就不會有 B & C 從 A 地 DHCP server 取得 IP 的情況.所以就不會有你後面問的三個問題產生.
gfx wrote:pctine大有整理...(恕刪) 那這樣應該還是會採用OVPN的方式因為從設定上看起來 EoIP似乎是沒有加密的如果是OVPN的話應該就很好設定了但這樣應該要分開網段 也就是Secret要設定一個網段並且B地跟C地的DHCP也要另外設定屬於他們OVPN的網段而且還要確保除了對A地的連線外 其他的連線都是走他們自己的網路(避免A地流量爆炸)
小欷o wrote:各位前輩,目前小弟無能為力 ...忙了一天,連個PPPOE 的固定IP都出不去 .....(恕刪) 透過 new terminal,>export file startup將 startup 裡面有關密碼的部份改掉, 再貼出來大家研究看看吧! 你貼的圖看不出個所以然.
pctine wrote:為了存取A地的資料,...(恕刪) 意思是說 如果要連線還是得透過手動打IP嗎....雖然彼此可以透過Routing達到互連 Windows防火牆本身也可以設定網路芳鄰接受其他網域連線但悲劇的是考量到這點的公司大多是Mac系統.....不知道Mac的SMB或是AFP有沒有辦法跟Windows一樣設定這一塊
小欷o wrote:各位前輩,目前小弟無能為力 ...忙了一天,連個PPPOE 的固定IP都出不去 ... RouterOS的設定跟Cisco的設定都是需要經過一段時間學習的,而你想要達成的功能也需要具備清楚的網路架構邏輯,一步一步來...你先單獨使用一個PPPoE撥號就好,用@ip.hinet.net,先連出去用,再設定VPN,等你熟悉了,再來設定第二組PPPoE,然後後面再說
pctine wrote:透過 new ter...(恕刪) # jan/02/1970 14:17:43 by RouterOS 5.26# software id = HE63-ETJ0#/interface ethernetset 0 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited \disabled=no full-duplex=yes l2mtu=1598 mac-address=D4:CA:6D:04:F6:B5 \master-port=none mtu=1500 name=ether1-gateway speed=100Mbpsset 1 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited \disabled=no full-duplex=yes l2mtu=1598 mac-address=D4:CA:6D:04:F6:B6 \master-port=none mtu=1500 name=ether2-master-local speed=100Mbpsset 2 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited \disabled=no full-duplex=yes l2mtu=1598 mac-address=D4:CA:6D:04:F6:B7 \master-port=ether2-master-local mtu=1500 name=ether3-slave-local speed=\100Mbpsset 3 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited \disabled=no full-duplex=yes l2mtu=1598 mac-address=D4:CA:6D:04:F6:B8 \master-port=ether2-master-local mtu=1500 name=ether4-slave-local speed=\100Mbpsset 4 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited \disabled=no full-duplex=yes l2mtu=1598 mac-address=D4:CA:6D:04:F6:B9 \master-port=ether2-master-local mtu=1500 name=ether5-slave-local speed=\100Mbps/interface ethernet switchset 0 mirror-source=none mirror-target=none name=switch1/ip hotspot profileset [ find default=yes ] dns-name="" hotspot-address=0.0.0.0 html-directory=\hotspot http-cookie-lifetime=3d http-proxy=0.0.0.0:0 login-by=\cookie,http-chap name=default rate-limit="" smtp-server=0.0.0.0 \split-user-domain=no use-radius=no/ip hotspot user profileset [ find default=yes ] idle-timeout=none keepalive-timeout=2m name=default \shared-users=1 status-autorefresh=1m transparent-proxy=no/ip ipsec proposalset [ find default=yes ] auth-algorithms=sha1 disabled=no enc-algorithms=3des \lifetime=30m name=default pfs-group=modp1024/ip pooladd name=DHCP ranges=192.168.10.2-192.168.10.254/ip dhcp-serveradd address-pool=DHCP authoritative=after-2sec-delay bootp-support=static \disabled=no interface=ether2-master-local lease-time=3d name=default/ppp profileset 0 change-tcp-mss=yes name=default only-one=default use-compression=\default use-encryption=default use-mpls=default use-vj-compression=\defaultset 1 change-tcp-mss=yes name=default-encryption only-one=default \use-compression=default use-encryption=yes use-mpls=default \use-vj-compression=default/interface pppoe-clientadd ac-name="" add-default-route=no allow=pap,chap,mschap1,mschap2 \dial-on-demand=no disabled=no interface=ether1-gateway max-mru=1480 \max-mtu=1480 mrru=disabled name=ADSL password=******** profile=default \service-name="" use-peer-dns=yes user=**********@ip.hinet.net/queue typeset 0 kind=pfifo name=default pfifo-limit=50set 1 kind=pfifo name=ethernet-default pfifo-limit=50set 2 kind=sfq name=wireless-default sfq-allot=1514 sfq-perturb=5set 3 kind=red name=synchronous-default red-avg-packet=1000 red-burst=20 \red-limit=60 red-max-threshold=50 red-min-threshold=10set 4 kind=sfq name=hotspot-default sfq-allot=1514 sfq-perturb=5set 5 kind=none name=only-hardware-queueset 6 kind=mq-pfifo mq-pfifo-limit=50 name=multi-queue-ethernet-defaultset 7 kind=pfifo name=default-small pfifo-limit=10/routing bgp instanceset default as=65530 client-to-client-reflection=yes disabled=no \ignore-as-path-len=no name=default out-filter="" redistribute-connected=\no redistribute-ospf=no redistribute-other-bgp=no redistribute-rip=no \redistribute-static=no router-id=0.0.0.0 routing-table=""/routing ospf instanceset [ find default=yes ] disabled=no distribute-default=never in-filter=\ospf-in metric-bgp=auto metric-connected=20 metric-default=1 \metric-other-ospf=auto metric-rip=20 metric-static=20 name=default \out-filter=ospf-out redistribute-bgp=no redistribute-connected=no \redistribute-other-ospf=no redistribute-rip=no redistribute-static=no \router-id=0.0.0.0/routing ospf areaset [ find default=yes ] area-id=0.0.0.0 disabled=no instance=default name=\backbone type=default/snmp communityset [ find default=yes ] addresses=0.0.0.0/0 authentication-password="" \authentication-protocol=MD5 encryption-password="" encryption-protocol=\DES name=public read-access=yes security=none write-access=no/system logging actionset 0 memory-lines=100 memory-stop-on-full=no name=memory target=memoryset 1 disk-file-count=2 disk-file-name=log disk-lines-per-file=100 \disk-stop-on-full=no name=disk target=diskset 2 name=echo remember=yes target=echoset 3 bsd-syslog=no name=remote remote-port=514 src-address=0.0.0.0 \syslog-facility=daemon syslog-severity=auto target=remote/user groupset read name=read policy="local,telnet,ssh,reboot,read,test,winbox,password,w\\eb,sniff,sensitive,api,!ftp,!write,!policy" skin=defaultset write name=write policy="local,telnet,ssh,reboot,read,write,test,winbox,pa\\ssword,web,sniff,sensitive,api,!ftp,!policy" skin=defaultset full name=full policy="local,telnet,ssh,ftp,reboot,read,write,policy,test,\\winbox,password,web,sniff,sensitive,api" skin=default/interface bridge settingsset use-ip-firewall=no use-ip-firewall-for-pppoe=no use-ip-firewall-for-vlan=\no/interface ethernet switch portset 0 vlan-header=leave-as-is vlan-mode=disabledset 1 vlan-header=leave-as-is vlan-mode=disabledset 2 vlan-header=leave-as-is vlan-mode=disabledset 3 vlan-header=leave-as-is vlan-mode=disabledset 4 vlan-header=leave-as-is vlan-mode=disabledset 5 vlan-header=leave-as-is vlan-mode=disabled/interface l2tp-server serverset authentication=pap,chap,mschap1,mschap2 default-profile=\default-encryption enabled=no keepalive-timeout=30 max-mru=1460 max-mtu=\1460 mrru=disabled/interface ovpn-server serverset auth=sha1,md5 certificate=none cipher=blowfish128,aes128 default-profile=\default enabled=no keepalive-timeout=60 mac-address=FE:C3:D9:C9:7A:99 \max-mtu=1500 mode=ip netmask=24 port=1194 require-client-certificate=no/interface pptp-server serverset authentication=mschap1,mschap2 default-profile=default-encryption \enabled=no keepalive-timeout=30 max-mru=1460 max-mtu=1460 mrru=disabled/interface sstp-server serverset authentication=pap,chap,mschap1,mschap2 certificate=none default-profile=\default enabled=no keepalive-timeout=60 max-mru=1500 max-mtu=1500 mrru=\disabled port=443 verify-client-certificate=no/ip accountingset account-local-traffic=no enabled=no threshold=256/ip accounting web-accessset accessible-via-web=no address=0.0.0.0/0/ip addressadd address=192.168.10.1/24 disabled=no interface=ether2-master-local \network=192.168.10.0/ip dhcp-clientadd add-default-route=yes comment="default configuration" \default-route-distance=1 disabled=no interface=ether1-gateway \use-peer-dns=yes use-peer-ntp=yes/ip dhcp-server configset store-leases-disk=5m/ip dhcp-server networkadd address=192.168.10.0/24 comment="default configuration" dhcp-option="" \dns-server=192.168.10.1 gateway=192.168.10.1 ntp-server="" wins-server=""/ip dnsset allow-remote-requests=yes cache-max-ttl=1w cache-size=2048KiB \max-udp-packet-size=4096 servers=168.95.192.1,168.95.1.1/ip dns staticadd address=192.168.10.1 disabled=no name=router ttl=1d/ip firewall connection trackingset enabled=yes generic-timeout=10m icmp-timeout=10s tcp-close-timeout=10s \tcp-close-wait-timeout=10s tcp-established-timeout=1d \tcp-fin-wait-timeout=10s tcp-last-ack-timeout=10s \tcp-syn-received-timeout=5s tcp-syn-sent-timeout=5s tcp-syncookie=no \tcp-time-wait-timeout=10s udp-stream-timeout=3m udp-timeout=10s/ip firewall filteradd action=accept chain=input comment="default configuration" disabled=no \protocol=icmpadd action=accept chain=input comment="default configuration" \connection-state=established disabled=noadd action=accept chain=input comment="default configuration" \connection-state=related disabled=noadd action=drop chain=input comment="default configuration" disabled=no \in-interface=ether1-gatewayadd action=accept chain=forward comment="default configuration" \connection-state=established disabled=noadd action=accept chain=forward comment="default configuration" \connection-state=related disabled=noadd action=drop chain=forward comment="default configuration" \connection-state=invalid disabled=noadd action=accept chain=input comment="Accept established connections" \connection-state=established disabled=yesadd action=accept chain=input comment="Accept related connections" \connection-state=related disabled=yesadd action=drop chain=input comment="Drop invalid connections" \connection-state=invalid disabled=yesadd action=accept chain=input comment=UDP disabled=yes protocol=udpadd action=accept chain=input comment="Allow limited pings" disabled=yes \limit=50/5s,2 protocol=icmpadd action=drop chain=input comment="Drop excess pings" disabled=yes \protocol=icmpadd action=accept chain=input comment="From our LAN" disabled=yes \in-interface=ether2-master-local src-address=192.168.10.0/24add action=log chain=input comment="Log everything else" disabled=yes \log-prefix="DROP INPUT"add action=drop chain=input comment="Drop everything else" disabled=yes/ip firewall natadd action=masquerade chain=srcnat comment="default configuration" disabled=\yes out-interface=ether1-gatewayadd action=masquerade chain=srcnat disabled=no out-interface=ether1-gateway \src-address=192.168.10.0/24/ip firewall service-portset ftp disabled=no ports=21set tftp disabled=no ports=69set irc disabled=no ports=6667set h323 disabled=noset sip disabled=no ports=5060,5061 sip-direct-media=yesset pptp disabled=no/ip hotspot service-portset ftp disabled=no ports=21/ip neighbor discoveryset ether1-gateway disabled=yesset ether2-master-local disabled=noset ether3-slave-local disabled=noset ether4-slave-local disabled=noset ether5-slave-local disabled=noset ADSL disabled=yes/ip proxyset always-from-cache=no cache-administrator=webmaster cache-hit-dscp=4 \cache-on-disk=no enabled=no max-cache-size=unlimited \max-client-connections=600 max-fresh-time=3d max-server-connections=600 \parent-proxy=0.0.0.0 parent-proxy-port=0 port=8080 serialize-connections=\no src-address=0.0.0.0/ip serviceset telnet address="" disabled=no port=23set ftp address="" disabled=no port=21set www address="" disabled=no port=80set ssh address="" disabled=no port=22set www-ssl address="" certificate=none disabled=yes port=443set api address="" disabled=yes port=8728set winbox address="" disabled=no port=8291/ip smbset allow-guests=yes comment=MikrotikSMB domain=MSHOME enabled=no interfaces=\all/ip smb sharesset [ find default=yes ] comment="default share" directory=/pub disabled=no \max-sessions=10 name=pub/ip smb usersset [ find default=yes ] disabled=no name=guest password="" read-only=yes/ip socksset connection-idle-timeout=2m enabled=no max-connections=200 port=1080/ip traffic-flowset active-flow-timeout=30m cache-entries=4k enabled=no \inactive-flow-timeout=15s interfaces=all/ip upnpset allow-disable-external-interface=yes enabled=no show-dummy-rule=yes/mplsset dynamic-label-range=16-1048575 propagate-ttl=yes/mpls interfaceset [ find default=yes ] disabled=no interface=all mpls-mtu=1508/mpls ldpset distribute-for-default-route=no enabled=no hop-limit=255 loop-detect=no \lsr-id=0.0.0.0 path-vector-limit=255 transport-address=0.0.0.0 \use-explicit-null=no/port firmwareset directory=firmware ignore-directip-modem=no/ppp aaaset accounting=yes interim-update=0s use-radius=no/queue interfaceset ether1-gateway queue=only-hardware-queueset ether2-master-local queue=only-hardware-queueset ether3-slave-local queue=only-hardware-queueset ether4-slave-local queue=only-hardware-queueset ether5-slave-local queue=only-hardware-queue/radius incomingset accept=no port=3799/routing bfd interfaceset [ find default=yes ] disabled=no interface=all interval=0.2s min-rx=0.2s \multiplier=5/routing mmeset bidirectional-timeout=2 gateway-class=none gateway-keepalive=1m \gateway-selection=no-gateway origination-interval=5s preferred-gateway=\0.0.0.0 timeout=1m ttl=50/routing ripset distribute-default=never garbage-timer=2m metric-bgp=1 metric-connected=1 \metric-default=1 metric-ospf=1 metric-static=1 redistribute-bgp=no \redistribute-connected=no redistribute-ospf=no redistribute-static=no \routing-table=main timeout-timer=3m update-timer=30s/snmpset contact="" enabled=no engine-id="" location="" trap-generators="" \trap-target="" trap-version=1/system clockset time-zone-name=Asia/Taipei/system clock manualset dst-delta=+00:00 dst-end="jan/01/1970 00:00:00" dst-start=\"jan/01/1970 00:00:00" time-zone=+00:00/system identityset name=MikroTik/system loggingset 0 action=memory disabled=no prefix="" topics=infoset 1 action=memory disabled=no prefix="" topics=errorset 2 action=memory disabled=no prefix="" topics=warningset 3 action=echo disabled=no prefix="" topics=critical/system noteset note="" show-at-login=yes/system ntp clientset enabled=yes mode=broadcast primary-ntp=0.0.0.0 secondary-ntp=0.0.0.0/system resource irqset 0 cpu=auto/system routerboard settingsset boot-device=nand-if-fail-then-ethernet boot-protocol=bootp cpu-frequency=\400MHz force-backup-booter=no silent-boot=no/system upgrade mirrorset check-interval=1d enabled=no primary-server=0.0.0.0 secondary-server=\0.0.0.0 user=""/system watchdogset auto-send-supout=no automatic-supout=yes no-ping-delay=5m watch-address=\none watchdog-timer=yes/tool bandwidth-serverset allocate-udp-ports-from=2000 authenticate=yes enabled=yes max-sessions=\100/tool e-mailset address=0.0.0.0 from=<> password="" port=25 starttls=no user=""/tool graphingset page-refresh=300 store-every=5min/tool mac-serverset [ find default=yes ] disabled=yes interface=alladd disabled=no interface=ether2-master-localadd disabled=no interface=ether3-slave-localadd disabled=no interface=ether4-slave-localadd disabled=no interface=ether5-slave-local/tool mac-server mac-winboxset [ find default=yes ] disabled=yes interface=alladd disabled=no interface=ether2-master-localadd disabled=no interface=ether3-slave-localadd disabled=no interface=ether4-slave-localadd disabled=no interface=ether5-slave-local/tool mac-server pingset enabled=yes/tool smsset allowed-number="" channel=0 keep-max-sms=0 receive-enabled=no secret=""/tool snifferset file-limit=1000KiB file-name="" filter-ip-address="" filter-ip-protocol=\"" filter-mac-address="" filter-mac-protocol="" filter-port="" \filter-stream=yes interface=all memory-limit=100KiB memory-scroll=yes \only-headers=no streaming-enabled=no streaming-server=0.0.0.0/tool traffic-generatorset latency-distribution-scale=10 test-id=0/user aaaset accounting=yes default-group=read exclude-groups="" interim-update=0s \use-radius=no我的確是用IP登入,他跟RT-N66U差太多了,根本就是小學 VS 研究所 = ="讓我完全不知道如何下手 ....
回M大 ....其實 現在連pppoe都連不出去 !!他預設有DHCP CLIENT 小烏龜會自己抓ip撥出去所以要把DHCP CLIENT關掉 ?ip pool 或是 dhcp 那簡單的我還可以只是 NAT 跟 路由 我就看不太懂我也有照官方的做一次 出去的ip還是浮動我有開80 port 別人也連不進來 ..