Purpose: Client located in China and watch HK news/facebook/youtube
Step 1: Establishment of a PPP link between two sites
Step 2: IP-based policy route using the packet-marking method
Step 3: NAT
Step 4: Routing based on the marked packets作者: 角色 時間: 2014-8-17 21:27
本帖最後由 角色 於 2017-10-31 20:28 編輯
Step 1: Establishment of a PPP link between two sites
This can be done very easy. For example you may use PPTP or SSTP to link up two sites. In general the server should be located in HK and the client should be located in the Mainland China.
Step 2: IP-based policy route using the packet-marking method
1) Set the IP address of a PC to be connected to the HK VPN server, e.g. 192.168.99.101
2) Using the "Mangle" function to mark the packet.
/ip firewall mangle add chain=prerouting src-address=192.168.99.103 action=mark-routing passthrough=no
Step 4: Routing based on the marked packets
add new a new route to direct the data stream whose packets marked to the desired interface.作者: vpn-learner 時間: 2018-10-19 12:52
Please would you discribe more on Step 4? Can I use the IP of my router ( instead of IP of my PC)in step one?
Thank you!作者: 角色 時間: 2018-10-19 13:23