You are on page 1of 1

:log warning "==================================":log warning "LOGAM.

ID
CONFIGURATION - START":log warning "==================================":log warning
" "# VPN CONNECTION
:log warning ">>> Setting Up VPN Connection ..."
/interface ovpn-client add comment="<<<===|| OVPN - CHR.LOGAM.ID | STATUS: PAID |
START: jan/06/2020 | EXPIRED: jan/05/2021 ||===>>>" connect-to=chr.logam.id
name=ovpn-chr-logamid password="tc6giZpXeHz9Nw1A" port=1111 profile=default-
encryption user="ppp_agnanhotspot-2"
:log warning ">>> VPN Connection Setup Complete"
# NAT RULE:log warning ">>> Setting Up NAT Rules ..."/ip firewall nat add
disabled="no" action=dst-nat chain=dstnat comment="<<<===|| PORT FORWARD RULE ||
CHR.LOGAM.ID - 1 ||===>>>" dst-address="10.20.31.3" dst-port="22" protocol=tcp to-
ports=80/ip firewall nat add disabled="no" action=dst-nat chain=dstnat
comment="<<<===|| PORT FORWARD RULE || CHR.LOGAM.ID - 2 ||===>>>" dst-
address="10.20.31.3" dst-port="80" protocol=tcp to-ports=80/ip firewall nat add
action=masquerade chain=srcnat comment= "<<<===|| MASQUERADE PORT FORWARD RULE ||
===>>>" out-interface=ovpn-chr-logamid:log warning ">>> NAT Rules Setup
Complete":log warning " "# NETWATCH:log warning ">>> Setting Up Netwatch ..."/tool
netwatch add comment="<<<===|| NETWATCH - CHR.LOGAM.ID ||===>>>"
host=10.20.30.1:log warning ">>> Netwatch Setup Complete"
:log warning " ":log warning "==================================":log warning
"LOGAM.ID CONFIGURATION - END":log warning "=================================="

You might also like