akram -
See below...I removed most of the 'disabled' entries. Made comments in the body of the text below. Study it and be sure to look over the MT docs to understand what I did....
Basically it is 'policy routing'. The policy is when a chosen IP makes a request to get something from the Internet, the connection is marked, then a routing mark is added. After that as the connection makes it's way through the router processing chain and comes upon routing, the routing mark tells the router to lookup this action in the Akram Rules table and route the connection that way. The NAT table masquerades the connection out the SBAWAN interface as it leaves the router.
/R
Thom
internal LAN : SLAN
External WAN1 : SWAN
External WAN2 : SABWAN
[admin@MikroTik] > /ip address export
feb/10/2009 15:57:06 by RouterOS 3.20
software id = 0RWQ-ZYN
/ip address
add address=192.168.1.2/24 broadcast=192.168.1.255 comment="LAN Address"
disabled=no interface=SLAN network=192.168.1.0
add address=196.218.38.246/29 broadcast=196.218.38.247 comment="WAN - ADSL"
disabled=no interface=SABWAN network=196.218.38.240
add address=196.218.38.245/32 broadcast=196.218.38.245 comment="WAN - ADSL"
disabled=yes interface=SABWAN network=196.218.38.245
[admin@MikroTik] > /ip route export
feb/10/2009 15:57:38 by RouterOS 3.20
software id = 0RWQ-ZYN
/ip route
First route (if it is a manually inputted route);
add comment="" disabled=no distance=1 dst-address=10.0.0.0/24 gateway=
10.0.0.40 scope=30 target-scope=10
Second route (if it is a manually inputted route);
add comment="" disabled=no distance=1 dst-address=192.168.1.0/24 gateway=
192.168.1.2,SLAN scope=30 target-scope=10
I am guessing that this route is in route table "Akram Rules". If it is then ok. If it is not then you need to make a route table and put this in it.
add comment="Forward to ADSL Router " disabled=no distance=1 dst-address=
0.0.0.0/0 gateway=196.218.38.241 scope=30 target-scope=10
This is what you expect to be the 'normal' default route to the Internet - right? It should be in table main.
add comment="Route or Forward to ISA Server2 - Works now" disabled=no
distance=1 dst-address=0.0.0.0/0 gateway=192.168.1.6 scope=30
target-scope=10
[admin@MikroTik] > /ip route rule export
feb/10/2009 15:58:14 by RouterOS 3.20
software id = 0RWQ-ZYN
/ip route rule
This should be the first rule;
add action=lookup comment="" disabled=no dst-address=0.0.0.0/0 interface=
SABWAN routing-mark="Akram Rules" src-address=192.168.1.178/32 table=
"Akram Rules"
This should be your second rule;
add action=lookup comment="" disabled=no dst-address=0.0.0.0/0 interface=
SWAN routing-mark="" scr-addrress=0.0.0.0/0 action=lookup table=main
/ip firewall mangle
These should be the first mangle rules after any 'filter' type mangles but before any other types so you can get the connection marked and going out to the Internet via the correct (SBAWAN) interface.
chain=prerouting action=mark-connection new-connection-mark=Akram Rules
passthrough=yes src-address=192.168.1.178/32 in-interface=SLAN
chain=prerouting action=mark-routing new-routing-mark=Akram Rules
passthrough=no
[admin@MikroTik] > /ip firewall nat export
feb/10/2009 15:58:51 by RouterOS 3.20
software id = 0RWQ-ZYN
/ip firewall nat
Add the rule below - should be one of the first few - before any other masquerade or src-nat rules;
add action=masquerade chain=srcnat comment="Test ADSL - Akram Laptop"
connection-mark=Akram Rules disabled=no out-interface=SABWAN
add action=dst-nat chain=dstnat comment=
"port Forward - Public to private server to Ftp" disabled=no dst-address=
196.219.31.37 dst-port=21 in-interface=SWAN protocol=tcp to-addresses=
192.168.1.3 to-ports=21