參考
#https://ethernet-diy.blogspot.com/2017/05/mikrotik4glteipip-routeros.html
借用 VPN
WAN :Hinet 固IP
LAN: 192.168.88.0/24
VPN : PPTP host to site VPN
Port forward: Wan_IP:8800 -> 192.168.88.101:80 ( wan:8800 –> lan 192.168.88.101)
Server
192.168.1.99/24 G:192.168.1.1
vpn ip: 192.168.88.101/32
web server: TCP 80
SERVER Firewall allow 80
#先設定 pppoe server
[ppp]-pptp server- enable 打勾
[ppp]
Profiles
Name:pptp-1
Local Address:192.168.88.1
Remote Address:192.168.88.101
[ppp]
Secrets
Name:test
password:test
service:pptp
Profile: pptp-1 (上面的pptp-1)
# Firewall Allow
INPUT
Chain: Input
Protocol: Tcp
Dst Port 21,22,23,80,443,1723,8291
Action: accept
Forward
Chain: Forward
Protocol: Tcp
Dst Port : 88,8800
In Interface: ppoe-out1 (注意)
Action: accept
NAT
Chain: dsnat
Protocol: TCP
Dst port:8800
In interface: pppoe-out1
Action: Dst-nat
to Address:192.168.88.101
To Port:80