Suponiendo que eth1 es tu segmento LAN y la eth0 es tu WAN
WANIP= IP publico
LOCALIP= Servidor privado al que redireccionaras el servicio
hacemos SSH al Server o desde la consola.
IAX
PORT FOWARDING
set service nat rule 20 destination address WANIP
set service nat rule 20 destination port 4569
set service nat rule 20 type destination
set service nat rule 20 protocol udp
set service nat rule 20 inbound-interface eth1
set service nat rule 20 inside-address address LOCALIP
set service nat rule 20 inside-address port 4569
VOIP
set service nat rule 21 destination address WANIP
set service nat rule 21 destination port 5060
set service nat rule 21 type destination
set service nat rule 21 protocol udp
set service nat rule 21 inbound-interface eth1
set service nat rule 21 inside-address address LOCALIP
set service nat rule 21 inside-address port 5060
RDP
set service nat rule 22 destination address WANIP
set service nat rule 22 destination port 3389
set service nat rule 22 type destination
set service nat rule 22 protocol tcp
set service nat rule 22 inbound-interface eth1
set service nat rule 22 inside-address address LOCALIP
set service nat rule 22 inside-address port 3389
VPN
set service nat rule 23 destination address WANIP
set service nat rule 23 destination port 1723
set service nat rule 23 type destination
set service nat rule 23 protocol tcp
set service nat rule 23 inbound-interface eth1
set service nat rule 23 inside-address address LOCALIP
set service nat rule 23 inside-address port 1723
No hay comentarios:
Publicar un comentario