Netwach Routers

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

2 OPERADORES

UP
ip route set [find comment=ISP1] disabled=no
DOWN
ip route set [find comment=ISP1] disabled=yes

NETWACH

OPERADOR Y MODEM
UP
ip route set [find comment=ISP1] disabled=no;interface l2tp-client set [find (comment="TUNEL")] disabled=no;interface
ovpn-client set [find (comment="TUNEL")] disabled=no

DOWN
ip route set [find comment=ISP1] disabled=yes;interface l2tp-client set [find (comment="TUNEL")]
disabled=yes;interface ovpn-client set [find (comment="TUNEL")] disabled=yes

UP con ruta por defecto

ip route set [fin (dst-address="0.0.0.0/0")and(gateway="191.168.1.1")] disabled=yes;interface pptp-client set [find


(comment="TUNEL")] disabled=yes;interface ovpn-client set [find (comment="TUNEL")] disabled=yes

DOWN con ruta por defecto


ip route set [fin (dst-address="0.0.0.0/0")and(gateway="191.168.1.1")] disabled=yes;interface pptp-client set [find
(comment="TUNEL")] disabled=yes;interface ovpn-client set [find (comment="TUNEL")] disabled=yes

ip route set [fin (dst-address="0.0.0.0/0")and(gateway="191.102.127.153")] disabled=no;

up
ip route set [find (comment="GIROS POR CODESA")] disabled=no;ip route set [find (comment="PEBD POR CODESA")]
disabled=no;ip route set [find (comment="GIROS POR AZTECA")] disabled=yes;ip route set [find (comment="PEBD POR
AZTECA")] disabled=yes;ip route set [find (comment="GIROS POR CLARO")] disabled=yes;ip route set [find
(comment="PEBD POR CLARO")] disabled=yes;ip route set [find (comment="GIROS POR CCR")] disabled=yes;ip route set
[find (comment="PEBD POR CCR")] disabled=yes;ip firewall nat set [find (comment="CODESA")] disabled= no

down
ip route set [find (comment="GIROS POR CODESA")] disabled=yes;ip route set [find (comment="PEBD POR CODESA")]
disabled=yes;ip route set [find (comment="GIROS POR AZTECA")] disabled=no;ip route set [find (comment="PEBD POR
AZTECA")] disabled=no;ip route set [find (comment="GIROS POR CLARO")] disabled=no;ip route set [find
(comment="PEBD POR CLARO")] disabled=no;ip route set [find (comment="GIROS POR CCR")] disabled=no;ip route set
[find (comment="PEBD POR CCR")] disabled=no;ip firewall nat set [find (comment="CODESA")] disabled= yes

VPN POR CODESA


/tool netwatch

add comment="VALIDACION VPN CODESA" down-script="ip route set [find (comment=\

\"GIROS POR CODESA\")] disabled=yes;ip route set [find (comment=\"PEBD POR\

\_CODESA\")] disabled=yes;ip route set [find (comment=\"GIROS POR AZTECA\"\

)] disabled=no;ip route set [find (comment=\"PEBD POR AZTECA\")] disabled=\

no;ip route set [find (comment=\"GIROS POR CLARO\")] disabled=no;ip route \

set [find (comment=\"PEBD POR CLARO\")] disabled=no;ip route set [find (co\

mment=\"GIROS POR CCR\")] disabled=no;ip route set [find (comment=\"PEBD P\

OR CCR\")] disabled=no;ip firewall nat set [find (comment=\"CODESA\")] dis\

abled= yes" host=10.141.165.25 timeout=100ms up-script="ip route set [find\

\_(comment=\"GIROS POR CODESA\")] disabled=no;ip route set [find (comment=\

\"PEBD POR CODESA\")] disabled=no;ip route set [find (comment=\"GIROS POR \

AZTECA\")] disabled=yes;ip route set [find (comment=\"PEBD POR AZTECA\")] \

disabled=yes;ip route set [find (comment=\"GIROS POR CLARO\")] disabled=ye\

s;ip route set [find (comment=\"PEBD POR CLARO\")] disabled=yes;ip route s\

et [find (comment=\"GIROS POR CCR\")] disabled=yes;ip route set [find (com\


ment=\"PEBD POR CCR\")] disabled=yes;ip firewall nat set [find (comment=\"\

CODESA\")] disabled= no"

Cambio de canal con satelital

UP

ip route set [find (comment="PEBD POR SATELITAL")] disabled=yes;ip route set [find (comment="GIROS POR
SATELITAL")] disabled=yes;ip route set [find (comment="BINAPS POR SATELITAL")] disabled=yes;ip route set [find
(comment="CORREO POR SATELITAL")] disabled=yes;ip route set [find (comment="ADMIN POR SATELITAL")]
disabled=yes;ip firewall nat set [find (comment="CONTINGENCIA")] disabled= yes

DOWN

ip route set [find (comment="PEBD POR SATELITAL")] disabled=no;ip route set [find (comment="GIROS POR
SATELITAL")] disabled=no;ip route set [find (comment="BINAPS POR SATELITAL")] disabled=no;ip route set [find
(comment="CORREO POR SATELITAL")] disabled=no;ip route set [find (comment="ADMIN POR SATELITAL")]
disabled=no;ip firewall nat set [find (comment="CONTINGENCIA")] disabled= no

CAMBIO DE CONEXION Y APAGO TUNELES

UP

ip route set [find comment=ISP1] disabled=no;interface pptp-client set [find (comment="TUNEL")] disabled=no;interface
ovpn-client set [find (comment="TUNEL")] disabled=no ´

DOWN

ip route set [find comment=ISP1] disabled=yes;interface pptp-client set [find (comment="TUNEL")]


disabled=yes;interface ovpn-client set [find (comment="TUNEL")] disabled=yes

ip firewall filter set [find (comment=" BLOQUEO DE FACEBOOK ")] disabled=yes


ip destino

10.19.72.10

Puerto

80

Sale por netgrup

Red tumaco satelital

10.12.1.2

Red tumaco

10.120.2.201

Red pasto
10.30.1.2

Red Putumayo

You might also like