Menú principal
Menú

Mostrar Mensajes

Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.

Menú Mostrar Mensajes

Mensajes - rolinopp

#1
Firewall & NAT / Re:configuracion de mikrotik
Febrero 09, 2015, 10:54:10 AM
solo cambiar el nombre luego todo esta bien??
#2
Firewall & NAT / Re:configuracion de mikrotik
Febrero 07, 2015, 04:16:14 PM
tengo el rb 750GL
#3
Firewall & NAT / Re:configuracion de mikrotik
Febrero 06, 2015, 09:47:21 PM
una pregunta y para que es eso del failower ?
#4
Firewall & NAT / configuracion de mikrotik
Febrero 06, 2015, 04:26:10 PM
hola amigos del foro me gustaría que le echen un vistosa a mi configuración del mikrotik  balanceo  ether 1 y 2. salida al raptor cache ether 4  y salida  para las maquinas que se van a conectar a internet  ether 5. quiero saber si voy por un buen camino


paso1

/ip address
add address=192.168.1.2/24 interface=ether1
add address=192.168.2.2/24 interface=ether2
add address=192.168.15.1/24 interface=ether4
add address=192.168.5.1/24 interface=ether5

paso2

/ip firewall nat
add chain=srcnat out-interface=ether1 action=masquerade

add chain=srcnat out-interface=ether2 action=masquerade

paso 3

/ip route
add gateway=192.168.1.1 check-gateway=ping distance=1

add gateway=192.168.2.1 check-gateway=ping distance=2

paso 4

/ip firewall mangle
add chain=prerouting in-interface=ether1 connection-state=new new-connection-mark=ether1_conn action=mark-connection passthrough=yes
add chain=prerouting in-interface=ether2 connection-state=new new-connection-mark=ether2_conn action=mark-connection passthrough=yes

add chain=output connection-mark=ether1_conn new-routing-mark=to_ether1 action=mark-routing passthrough=yes
add chain=output connection-mark=ether2_conn new-routing-mark=to_ether2 action=mark-routing passthrough=yes

paso5

/ip firewall mangle
#Parte A
add chain=prerouting in-interface=ether5 connection-state=new dst-address-type=!local per-connection-classifier=both-addresses:2/0 action=mark-connection new-connection-mark=ether1_conn passthrough=yes
add chain=prerouting in-interface=ether5 connection-state=new dst-address-type=!local per-connection-classifier=both-addresses:2/1 action=mark-connection new-connection-mark=ether2_conn passthrough=yes

add chain=prerouting in-interface=ether4 connection-state=new dst-address-type=!local per-connection-classifier=both-addresses:2/0 action=mark-connection new-connection-mark=ether1_conn passthrough=yes
add chain=prerouting in-interface=ether4 connection-state=new dst-address-type=!local per-connection-classifier=both-addresses:2/1 action=mark-connection new-connection-mark=ether2_conn passthrough=yes

#Parte B
add chain=prerouting in-interface=ether5 connection-mark=ether1_conn action=mark-routing new-routing-mark=to_ether1 passthrough=yes
add chain=prerouting in-interface=ether5 connection-mark=ether2_conn action=mark-routing new-routing-mark=to_ether2 passthrough=yes

add chain=prerouting in-interface=ether4 connection-mark=ether1_conn action=mark-routing new-routing-mark=to_ether1 passthrough=yes
add chain=prerouting in-interface=ether4 connection-mark=ether2_conn action=mark-routing new-routing-mark=to_ether2 passthrough=yes

paso 6

/ip firewall mangle
add chain=prerouting dst-address=192.168.1.0/24  action=accept in-interface=ether5
add chain=prerouting dst-address=192.168.2.0/24  action=accept in-interface=ether5

add chain=prerouting dst-address=192.168.1.0/24  action=accept in-interface=ether4
add chain=prerouting dst-address=192.168.2.0/24  action=accept in-interface=ether4

paso7

/ip route
add gateway=192.168.1.1 routing-mark=to_ether1 check-gateway=ping
add gateway=192.168.2.1 routing-mark=to_ether2 check-gateway=ping