Fri Sep 18, 2009 11:31 pm
chubaka >...let me show you my setting in routeboard 493AH by photo and tell me what is new will doing or give me dst-nat script exactly
this is nat and mangle script
/ip firewall mangle
add action=mark-connection chain=input comment="" disabled=no in-interface=\
TEDATAsmh new-connection-mark=TEDATAsmh_conn passthrough=no
add action=mark-connection chain=input comment="" disabled=no in-interface=\
TEDATAeml new-connection-mark=TEDATAeml_conn passthrough=no
add action=mark-connection chain=input comment="" disabled=no in-interface=\
EGYNEThm new-connection-mark=EGYNEThm_conn passthrough=no
add action=mark-connection chain=input comment="" disabled=no in-interface=\
EGYNETngy new-connection-mark=EGYNETngy_conn passthrough=no
add action=mark-connection chain=input comment="" disabled=no in-interface=\
EGYNETrm new-connection-mark=EGYNETrm_conn passthrough=no
add action=mark-routing chain=output comment="" connection-mark=\
TEDATAsmh_conn disabled=no new-routing-mark=TEDATAsmh passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=\
TEDATAeml_conn disabled=no new-routing-mark=TEDATAeml passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=EGYNEThm_conn \
disabled=no new-routing-mark=EGYNEThm passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=\
EGYNETngy_conn disabled=no new-routing-mark=EGYNETngy passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=EGYNETrm_conn \
disabled=no new-routing-mark=EGYNETrm passthrough=yes
add action=mark-connection chain=prerouting comment="" disabled=no \
in-interface=3EBOOR new-connection-mark=TEDATAsmh_conn passthrough=yes \
per-connection-classifier=both-addresses-and-ports:5/0
add action=mark-connection chain=prerouting comment="" disabled=no \
in-interface=3EBOOR new-connection-mark=TEDATAeml_conn passthrough=yes \
per-connection-classifier=both-addresses-and-ports:5/1
add action=mark-connection chain=prerouting comment="" disabled=no \
in-interface=3EBOOR new-connection-mark=EGYNEThm_conn passthrough=yes \
per-connection-classifier=both-addresses-and-ports:5/2
add action=mark-connection chain=prerouting comment="" disabled=no \
in-interface=3EBOOR new-connection-mark=EGYNETngy_conn passthrough=yes \
per-connection-classifier=both-addresses-and-ports:5/3
add action=mark-connection chain=prerouting comment="" disabled=no \
in-interface=3EBOOR new-connection-mark=EGYNETrm_conn passthrough=yes \
per-connection-classifier=both-addresses-and-ports:5/4
add action=mark-routing chain=prerouting comment="" connection-mark=\
TEDATAsmh_conn disabled=no in-interface=3EBOOR new-routing-mark=TEDATAsmh \
passthrough=no
add action=mark-routing chain=prerouting comment="" connection-mark=\
TEDATAeml_conn disabled=no in-interface=3EBOOR new-routing-mark=TEDATAeml \
passthrough=no
add action=mark-routing chain=prerouting comment="" connection-mark=\
EGYNEThm_conn disabled=no in-interface=3EBOOR new-routing-mark=EGYNEThm \
passthrough=no
add action=mark-routing chain=prerouting comment="" connection-mark=\
EGYNETngy_conn disabled=no in-interface=3EBOOR new-routing-mark=EGYNETngy \
passthrough=no
add action=mark-routing chain=prerouting comment="" connection-mark=\
EGYNETrm_conn disabled=no in-interface=3EBOOR new-routing-mark=EGYNETrm \
passthrough=no
/ip firewall nat
add action=masquerade chain=srcnat comment="" disabled=no out-interface=\
TEDATAsmh
add action=masquerade chain=srcnat comment="" disabled=no out-interface=\
TEDATAeml
add action=masquerade chain=srcnat comment="" disabled=no out-interface=\
EGYNEThm
add action=masquerade chain=srcnat comment="" disabled=yes out-interface=\
3EBOOR
add action=masquerade chain=srcnat comment="" disabled=no out-interface=\
EGYNETngy
add action=masquerade chain=srcnat comment="" disabled=no out-interface=\
EGYNETrm
You do not have the required permissions to view the files attached to this post.