使用 PPTP 协议和 Windows 客户端的 MikroTik VPN

问题描述 投票:0回答:0

我正在使用 PPTP 配置 VPN,在办公室我们使用 MikroTik CRS326-24G,客户端是 Windows 11,VPN 的连接已建立,也就是说,我可以看到 LAN 的办公室,我可以 ping 没有任何问题,我什至可以在 600 公里外办公室的远程打印机上打印,但我无法发现连接到网络的设备、共享磁盘、文件等,通过 IP 来配置打印机打印机,但不能作为列出的设备被发现,作为资源,当然我看不到任何连接到 LAN 的终端。我可以对设备执行 ping 操作,但在 Windows 文件资源管理器中看不到它。在游戏的这个阶段,我需要帮助。

/Interface bridge
add admin-mac=2C:C8:1B:DF:52:BC arp=proxy-arp auto-mac=no comment=”defconf” name=Bridge
set [ find default-name=ether1 ] arp=proxy-arp name="ether-01 - WAN"
/interface pptp-server
add name=VPN user=fgadea
/interface list
add name=WAN
add name=LAN
/ip pool
add comment="Stereo Romance LAN" name=DHCP ranges=192.168.1.10-192.168.1.254
add name=VPN ranges=192.168.1.2-192.168.1.9
/ip dhcp-server
add add-arp=yes address-pool=DHCP always-broadcast=yes bootp-support=dynamic \
    disabled=no interface=Bridge name=DHCP-Server
/ppp profile
add bridge=Bridge dns-server=8.8.8.8,8.8.4.4 local-address=DHCP name=\
    VPN-ROMANCE remote-address=VPN session-timeout=1h30m use-encryption=yes
/ip firewall connection tracking
set generic-timeout=1m
/ip settings
set tcp-syncookies=yes
/interface pptp-server server
set default-profile=VPN-ROMANCE enabled=yes max-mru=1360 max-mtu=1360
/ip address
add address=186.1.14.53/28 interface="ether-01 - WAN" network=186.1.14.48
add address=192.168.1.1/24 interface="bridge " network=\
    192.168.1.0
/ip dhcp-server network
add address=192.168.1.0/24 dns-server=8.8.8.8,8.8.4.4 gateway=192.168.1.1
/ip dns
set allow-remote-requests=yes servers=8.8.8.8,8.8.4.4
/ip firewall nat
add action=masquerade chain=srcnat out-interface="ether-01 - WAN"
add action=dst-nat chain=dstnat dst-address=186.x.xx.xx dst-port=80 \
    in-interface="ether-01 - WAN" protocol=tcp to-addresses=192.168.1.251
add action=accept chain=srcnat out-interface=all-ppp
/ip route
add distance=1 gateway=186.x.xx.xx
add check-gateway=ping distance=1 gateway=186.x.x.x
/ip route
add distance=1 gateway=186.x.x.x
add check-gateway=ping distance=1 gateway=186.x.x.x
add distance=1 gateway=186.1.14.49

/ppp secret
add name=xxxxxx password=123 profile=VPN-ROMANCE service=pptp

windows vpn mikrotik
© www.soinside.com 2019 - 2024. All rights reserved.