HOME

VPN TUNNEL ALL TRAFFIC SCRIPT GENERATOR FOR MIKROTIK ROUTEROS

Script Generator Results
###################################################################
# VPN Tunnel All Traffic Script Generator By BuanaNETPBun.Github.io
# Date/Time:
# BuanaNETPBun.Github.io + https://fb.me/buananet.pbun
# VPN Type -> PPTP
###################################################################
/interface pptp-client
add connect-to="x.x.x.x" disabled=no name="VPN-TUNNEL" user="xxxxxx" password="xxxxxx" comment="VPN-TUNNEL-BY-BNT"
/ip firewall nat
add chain=srcnat out-interface="VPN-TUNNEL" action=masquerade comment="VPN-TUNNEL-BY-BNT"
/ip route
add gateway="VPN-TUNNEL" distance=1 comment="VPN-TUNNEL-BY-BNT"
add dst-address="x.x.x.x.x" distance=1 gateway="x.x.x.x.x" comment="VPN-TUNNEL-BY-BNT"

Copy-Paste Script to Terminal!